This is one of those simple commands that I always seem to forget how to use. To search all of
the subdirectories of myDirectory
for a file or directory called
myItem
, the syntax is
find /path/to/myDirectory -name myItem
If you just want to search from the current directory, you can simply use
find -name myItem
Thank you. That is all.