UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Gil-galad was an Elven-king. Of him the \
| harpers sadly sing: the last whose      |
| realm was fair and free between the     |
| Mountains and the Sea.                  |
|                                         |
| His sword was long, his lance was keen, |
| his shining helm afar was seen; the     |
| countless stars of heaven's field were  |
| mirrored in his silver shield.          |
|                                         |
| But long ago he rode away, and where he |
| dwelleth none can say; for into         |
| darkness fell his star in Mordor where  |
| the shadows are.                        |
|                                         |
\ -- J. R. R. Tolkien                     /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


Here is the PHP code:
$output = shell_exec("/usr/games/fortune | /usr/games/cowsay");
echo $output;