June 23, 2015

find a file or document in mac osx using find command in terminal

Example : find . -name "server.xml"

find - it's the command to search for files recursively in the specified directory

here the "." specifies the find command to search in the current directory and it's sub directories

"server.xml" is the name of the file we need to search for in the current and it's sub directories


Usage: find -name


No comments :

Post a Comment