Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / You tell it that it's indicative by \ | appending $!. That's why we made $! | | such a short variable name, after all. | | :-) | | | | -- Larry Wall in | \ <199709081801.LAA20629@wall.org> / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;