Search Files by DaveChild
About This Content
Searching for and inside files in linux.
This content, Search Files, was created on 27th October, 2011 and was last updated on 22nd November, 2011.
Tags
bash, commandline, grep, linux, search
Search Files appears on:
Search Files
| grep pattern files | Search for pattern in files |
| grep -i | Case insensitive search |
| grep -r | Recursive search |
| grep -v | Inverted search |
| grep -o | Show matched part of file only |
| find /dir/ -name name* | Find files starting with name in dir |
| find /dir/ -user name | Find files owned by name in dir |
| find /dir/ -mmin num | Find files modifed less than num minutes ago in dir |
| whereis command | Find binary / source / manual for command |
| locate file | Find file (quick search of system index) |
Comments
No comments yet. Add yours below!
Add a Comment
You must be logged in to post a comment. Please log in using the form at the top right of the page.

