Skip to content

Instantly share code, notes, and snippets.

@bhalothia
Last active August 29, 2015 14:01
Show Gist options
  • Save bhalothia/bd8829007747deec9f3d to your computer and use it in GitHub Desktop.
Save bhalothia/bd8829007747deec9f3d to your computer and use it in GitHub Desktop.
Find a file on Linux command line
Let's say, you want to search 'file.txt' Go the directory where you want to search.
$ cd 'dir_path'
$ find . -name 'file.txt'
For detailed tutorial: http://content.hccfl.edu/pollock/unix/findcmd.htm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment