tail -f
# -f follows live files. Very useful for watching log files from /var/log in real time
grep -Iir “pattern” *
# search local and subdirectories for pattern, skip binary files, case insensitive. Handy for searching whole source trees
tail -f file | grep “pattern”
# useful for live watching very busy logs where you know a specific pattern you’re looking for
find . | grep “filenamepattern”
# search the local directory and down for filenames matching a pattern. Find actually has arguments for doing the search itself, but I know grep already. For more structured types of searches “e.g. I want to find a file named that is of a particular type”, man find