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 15th April, 2014.


bash, commandline, grep, linux, search

Search Files appears on:

Search Files

grep pattern files Search for pattern in files
grep -i Case insens­itive 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)