UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ A feed salesman is on his way to a      \
| farm. As he's driving along at forty    |
| m.p.h., he looks out his car window and |
| sees a three-legged chicken running     |
| alongside him, keeping pace with his    |
| car. He is amazed that a chicken is     |
| running at forty m.p.h. So he speeds up |
| to forty-five, fifty, then sixty m.p.h. |
| The chicken keeps right up with him the |
| whole way, then suddenly takes off and  |
| disappears into the distance.           |
|                                         |
| The man pulls into the farmyard and     |
| says to the farmer, "You know, the      |
| strangest thing just happened to me; I  |
| was driving along at at least sixty     |
| miles an hour and a chicken passed me   |
| like I was standing still!"             |
|                                         |
| "Yeah," the farmer replies, "that       |
| chicken was ours. You see, there's me,  |
| and there's Ma, and there's our son     |
| Billy. Whenever we had chicken for      |
| dinner, we would all want a drumstick,  |
| so we'd have to kill two chickens. So   |
| we decided to try and breed a           |
| three-legged chicken so each of us      |
| could have a drumstick."                |
|                                         |
| "How do they taste?" said the farmer.   |
|                                         |
| "Don't know," replied the farmer. "We   |
\ haven't been able to catch one yet."    /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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