Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / There are two kinds of fool. One says, \ | "This is old, and therefore good." And | | one says, "This is new, and therefore | | better" | | | \ -- John Brunner, "The Shockwave Rider" / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;