Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / This fortune cookie program out of \ | order. For those in desperate need, | | please use the program | | "________randchar". This | | program generates random characters, | | and, given enough time, will | | undoubtedly come up with something | | profound. It will, however, take it no | | time at all to be more profound than | \ THIS program has ever been. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;