Unix find: multiple file types

$ find . -name ‘*.h’ -o -name ‘*.cpp’ To find this information in the man page, type man find and the search for operators by typing /OPERATORS and hit enter. The . isn’t strictly necessary with GNU find, but is necessary in Unix. The quotes are important in either case, and leaving them out will … Read more

A cron job that will never execute

If you’re still looking for something robust even in the far future, try https://stackoverflow.com/a/13938099/1601531, where I suggest the use of February 31st in crontab entries which are never intended to execute. 0 0 5 31 2 ?

Syntax highlighting/colorizing cat

I’d recommend pygmentize from the python package python-pygments. You may want to define the following handy alias (unless you use ccat from the ccrypt package). alias ccat=”pygmentize -g” And if you want line numbers: alias ccat=”pygmentize -g -O style=colorful,linenos=1″ Add one of these above commands to ~/.bash_aliases for permanent effect