Enjoy a randomly generated fortune:
$ fortune | cowsay
_________________________________________
/ Troll sat alone on his seat of stone, \
| And munched and mumbled a bare old |
| bone; For many a year he had gnawed it |
| near, For meat was hard to come by. |
| |
| Done by! Gum by! In a cave in the hills |
| he dwelt alone, And meat was hard to |
| come by. |
| |
| Up came Tom with his big boots on. Said |
| he to Troll: "Pray, what is youn? For |
| it looks like the shin o' my nuncle |
| Tim, As should be a-lyin in graveyard. |
| |
| Caveyard! Paveyard! This many a year |
| has Tim been gone, And I thought he |
| were lyin' in graveyard." |
| |
| "My lad," said Troll, "this bone I |
| stole. But what be bones that lie in a |
| hole? Thy nuncle was dead as a lump o' |
| lead, Afore I found his shinbone. |
| |
| Tinbone! Thinbone! He can spare a share |
| for a poor old troll For he don't need |
| his shinbone." |
| |
| Said Tom: "I don't see why the likes o' |
| thee Without axin' leave should go |
| makin' free With the shank or the shin |
| o' my father's kin; So hand the old |
| bone over! |
| |
| Rover! Trover! Though dead he be, it |
| belongs to he; So hand the old bnone |
| over!" |
| |
\ -- J. R. R. Tolkien /
-----------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;