Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / * JHM wonders what Joey did to earn \ | "I'd just like to say, for the record, | | | | that Joey rules." | | | \ -- Seen on #Debian / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;