Enjoy a randomly generated fortune:
$ fortune | cowsay _______________________________________ / Moe: Wanna play poker tonight? Joe: I \ | can't. It's the kids' night out. Moe: | | So? Joe: I gotta stay home with the | \ nurse. / --------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;