UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/  joshk@influx:/etc/logrotate.d>  \
| sh -n *  apache: line 14: syntax |
| error near unexpected token `}'  |
| apache: line 14: `}'  the plot   |
| thickens  those aren't shell |
| scripts  this wasn't chicken.    |
|                                         |
\ -- in #debian-devel                     /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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