UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ________________________________________
/  Pittsburgh Driver's Test              \
|                                        |
| (7) The car directly in front of you   |
| has a flashing right tail light        |
|                                        |
| but a steady left tail light. This     |
| means                                  |
|                                        |
| (a) one of the tail lights is broken;  |
| you should blow your horn              |
|                                        |
| to call the problem to the driver's    |
| attention.                             |
|                                        |
| (b) the driver is signaling a right    |
| turn.                                  |
|                                        |
| (c) the driver is signaling a left     |
| turn.                                  |
|                                        |
| (d) the driver is from out of town.    |
|                                        |
| The correct answer is (d). Tail lights |
| are used in some foreign countries to  |
\ signal turns.                          /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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