Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / : I've heard that there is a shell \ | (bourne or csh) to perl filter, does : | | anyone know of this or where I can get | | it? Yeah, you filter it through Tom | \ Christiansen. :-) -- Larry Wall / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;