UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/  Pittsburgh driver's test               \
|                                         |
| (3) When stopped at an intersection you |
| should                                  |
|                                         |
| (a) watch the traffic light for your    |
| lane.                                   |
|                                         |
| (b) watch for pedestrians crossing the  |
| street.                                 |
|                                         |
| (c) blow the horn.                      |
|                                         |
| (d) watch the traffic light for the     |
| intersecting street.                    |
|                                         |
| The correct answer is (d). You need to  |
| start as soon as the traffic light for  |
| the intersecting street turns yellow.   |
\ Answer (c) is worth a half point.       /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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