From Thinkyhead Software:
Created when Unix was young, Fortune is the venerable BSD program that prints a random fortune to the standard output (usually the Terminal). Fortune is typically added to a shell login script (such as .tcshrc or .bashrc) so every time a Terminal window opens a new random fortune appears. The fortunes themselves come from an endless library of quotes, quips, sayings, anecdotes, and jokes from a wide variety of sources. Once installed simply enter the Terminal and type 'fortune' to receive a random quote. Includes tools and man pages to help you make your own fortunes.