UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Anyone who thinks UNIX is intuitive     \
| should be forced to write 5000 lines of |
| code using nothing but vi or emacs.     |
| AAAAACK! (Discussion in                 |
| comp.os.linux.misc on the intuitiveness |
\ of commands, especially Emacs.)         /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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