Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Oh, I am a C programmer and I'm okay \ | | | I muck with indices and structs all day | | And when it works, I shout hoo-ray | | | \ Oh, I am a C programmer and I'm okay / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;