Linux: How To Find A directory using linux find command
I would like to find a directory on my linux operating system.How do I find a directory on my linux system? how to use linux find command to search a directory located under root directory? this article will shown you how to use linux find command to find a directory.
You need to use find command to search a directory or a files. see below syntax.
Find command syntax:
find <path> <criteria> <action>
or
find /root -type d -name foo
Examples:
#1 list all files or directories located under /home directory.
type:
find /home
or
find /home -print