Enjoy a randomly generated fortune:
$ fortune | cowsay ______________________________________ / A star captain's most solemn oath is \ | that he will give his life, even his | | entire crew, rather than violate the | | Prime Directive. | | | | -- Kirk, "The Omega Glory", stardate | \ unknown / -------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;