Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / Remember though that THERE IS NO \ | GENERAL RULE FOR CONVERTING A LIST INTO | | A SCALAR. | | | \ -- Larry Wall in the perl man page / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;