Useful Linux Commands - Part 2

The following are a list of commonly used Linux Administration Commands.

Linux Search Commands

Linux Command Description
grep pattern path Search for pattern in the following path
grep -i Search for upper or lowercase patterns
grep -r Recursive Search
grep -v Inverted Search
find dir -name pattern Find files by name in directory dir
find dir -user userid Find files owned by userid in directory dir
whereis command Locate the binary source/location of specified command
which command Display path used for specified command
whatis command Search quickly the man pages
apropos command Search the man pages for term specified
locate pattern Locate file by pattern or name. Files must be previously indexed.