Monday, January 07, 2008

Funny UNIX utilities

Some humorous UNIX utilities that brighten my day:
  • cowsay -- get a cow, etc. to do the talking
  • fortune -- witticisms, some more offensive than others (fortunes-off package contains more offensive fortunes, fortune -o invokes offensive fortunes)
  • banner -- big friggin letters

Printing with enscript

enscript is an awesome utility for printing text files; it kicks lpr's lame ass. Here are some examples of usage (more to come as the need arises):
  • Letter enscript --no-header --word-wrap example_file.txt
Also, navigate to localhost:631 on any system with CUPS installed in order to configure the default printer and such.