find — search for files#
Search for files using their file name, file type etc.,
For example, to find files in the home directory with
.bash in their name, use the command:
find ~ -name ".bash*"
/home/user/.bashrc /home/user/.bash_history /home/user/.bash_logout
~ here is a shortcut for home directory.
The asterisk symbol (
.bash* acts as a
find command does not use a database, so
the search will be slower when compared to
locate. However, it can identify files
that were created or modified recently.