UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ Who wants to remember that              \
| escape-x-alt-control-left shift-b puts  |
| you into super-edit-debug-compile mode? |
| (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;