fortune - a minimal fortune(6) implementation

(Note: This is originally from the mid 90ies. It is no longer actively being worked on. Patches are still welcome though)

Download it from (pgp sig)! The current version is 1.2. Recent changes: -BSD +POSIX

Fortune is a small game that is meant to lighten up your life. It can be used to display a random entry from a cookie file.

There are many collections of cookie files, for example at

So why another fortune program? Because the BSD one sucks. It needs a separate file and a program called "strfile" to create that said file. Modern systems have mmap() which makes a simple fortune program almost trivial to write, so I did it.

fortune can be linked against diet libc for a binary of 10k size on Linux/x86!

You can contact me at

See also