General Information
Using various documentation sources.
Index man page database
mandb
Search man page title and description only
man -k vim
Search man page documentation for keyword (title, description, and pages)
apropos passwd
Open specific man page section
man 5 passwd
Search Info Pages for “tee”
pinfo --apropos tee "(coreutils)tee invocation" -- tee
Open the tee section of coreutils
pinfo coreutils tee
Documentation store for installed programs
Search system for keywords
updatedb locate passwd
Show location of binary
which passwd
Search man page descriptions only
whatis passwd
Find binary, source files, config files, and man page locations
whereis passwd
Search documenation installed
rpm -qd packagename
Search cache database for patterns, very fast, but simple pattern searching.
Install package
yum install mlocate
Update cache database
updatedb
Find files/folders called “syslog”
locate syslog
Real time searching. Slower, but more flexible.
Find files/directories with motd in the name
find / -name motd
Find, starting in /, all files (type f) owned by rjones
find / -user rjones -type f
Remove all files owned by rjones
find / -user rjones -type f -exec rm '{}' \;
Find all files modified in the last 3 days
find / -mtime -3 -type f