UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ________________________________________
/ quit When the quit statement is read,  \
| the bc processor                       |
|                                        |
| is terminated, regardless of where the |
| quit state-                            |
|                                        |
| ment is found. For example, "if (0 ==  |
| 1) quit"                               |
|                                        |
| will cause bc to terminate.            |
|                                        |
| -- seen in the manpage for "bc". Note  |
\ the "if" statement's logic             /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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