UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ /* This bit of chicanery makes a unary  \
| function followed by a parenthesis into |
| a function with one argument, highest   |
| precedence. */                          |
|                                         |
| -- Larry Wall in toke.c from the perl   |
\ source code                             /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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