UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Fortune suggests uses for YOUR favorite \
| UNIX commands!                          |
|                                         |
| Try:                                    |
|                                         |
| [Where is Jimmy Hoffa? (C shell)        |
|                                         |
| ^How did the^sex change operation go?   |
| (C shell)                               |
|                                         |
| "How would you rate BSD vs. System V?   |
|                                         |
| %blow (C shell)                         |
|                                         |
| 'thou shalt not mow thy grass at 8am'   |
| (C shell)                               |
|                                         |
| got a light? (C shell)                  |
|                                         |
| !!:Say, what do you think of margarine? |
| (C shell)                               |
|                                         |
| PATH=pretending! /usr/ucb/which sense   |
| (Bourne shell)                          |
|                                         |
| make love                               |
|                                         |
| make "the perfect dry martini"          |
|                                         |
| man -kisses dog (anything up to 4.3BSD) |
|                                         |
| i=Hoffa ; >$i; $i; rm $i; rm $i (Bourne |
\ shell)                                  /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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