TAO (The Art) of Unix Programming (and related systemic epiphanies)
This is a ruby-powered, ANSI-enabled,
fortune-like program to espouse wisdom at
opportune moments, such as when you log in.
It's mostly a personal collection, but contributions are welcome.
To get it running, make sure you have
gem installed, then run:
gem install ansi
After that, it should work fine, as long as you use a black terminal (who doesn't?).
Getting wisdom at login
taoup output at login, use the
taoup-fortune example script or try adding something similar in your
There are four modes other than standard invocation:
--hshows brief command line help on invocation syntax
--whitetrashconverts the otherwise attractive color scheme to be legible on light or white terminals
--machinedrops any ANSI colors from the output (also respects
NO_COLORenvironment variable, see no-color.org)
--fortuneconverts the wisdom to an assumed imitation of the fortune format. To make the resulting fortune format file available to the classic
fortuneprogram (loses ANSI colors in output) you can run
taoup --fortune >taoup-fortunes strfile taoup-fortunes taoup-fortunes.dat fortune taoup-fortunes