Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / It is, of course, written in Perl. \ | Translation to C is left as an exercise | | for the reader. :-) -- Larry Wall in | \ <7448@jpl-devvax.JPL.NASA.GOV> / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;