Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Tsort's Constant: \ | | | 1.67563, or precisely 1,237.98712567 | | times the difference between the | | distance to the sun and the weight of a | | small orange. | | | | -- Terry Pratchett, "The Light | \ Fantastic" (slightly modified) / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;