Enjoy a randomly generated fortune:
$ fortune | cowsay ______________________________________ / If it's working, the diagnostics say \ | it's fine. If it's not working, the | | diagnostics say it's fine. | | | | -- A proposed addition to rules for | \ realtime programming / -------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;