Enjoy a randomly generated fortune:
$ fortune | cowsay _________________________________________ / The leaves were long, the grass was \ | green, The hemlock-umbels tall and | | fair, And in the glade a light was seen | | Of stars in shadow shimmering. | | Tin'uviel was dancing there To music | | of a pipe unseen, And light of stars | | was in her hair, And in her raiment | | glimmering. | | | | There Beren came from mountains colds, | | And lost he wandered under leaves, And | | where the Elven-river rolled He walked | | alone and sorrowing. He peered between | | the hemlock-leaves And saw in wonder | | flowers of gold Upon her mantle and her | | sleeves, And her hair like shadow | | following. | | | | Enchantment healed his weary feet That | | over hills were doomed to roam; And | | forth he hastened, strong and fleet, | | And grasped at moonbeams glistening. | | Through woven woods in Elvenhome She | | lightly fled on dancing feet, And left | | him lonely still to roam In the silent | | forest listening. | | | \ -- J. R. R. Tolkien / ----------------------------------------- \ ^__^ \ (oo)\_______ (__)\ )\/\ ||----w | || ||
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay"); echo $output;