Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Humpty Dumpty sat on the wall, Humpty \ | Dumpty had a great fall! All the king's | | horses, And all the king's men, Had | \ scrambled eggs for breakfast again! / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;