Enjoy a randomly generated fortune:
$ fortune | cowsay ________________________________________ / When asked the definition of "pi": The \ | Mathematician: | | | | Pi is the number expressing the | | relationship between the | | | | circumference of a circle and its | | diameter. The Physicist: | | | | Pi is 3.1415927, plus or minus | | 0.000000005. The Engineer: | | | \ Pi is about 3. / ---------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;