UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ________________________________________
/  Pittsburgh Driver's Test              \
|                                        |
| (8) Pedestrians are                    |
|                                        |
| (a) irrelevant.                        |
|                                        |
| (b) communists.                        |
|                                        |
| (c) a nuisance.                        |
|                                        |
| (d) difficult to clean off the front   |
| grille.                                |
|                                        |
| The correct answer is (a). Pedestrians |
| are not in cars, so they are totally   |
| irrelevant to driving; you should      |
\ ignore them completely.                /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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