find <path> -name <filename>
find command helps us find files or folders in a given path. For example, I often want to free up space by deleting unused
node_modules directories. I can do this with a command like:
find $HOME/sites -type d -name 'node_modules'
You can also use wildcards in the
find $HOME/sites -name '*.png'