UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ #define SIOCGIFINDEX 0x8933 /* name ->  \
| if_index mapping */ #define SIOGIFINDEX |
| SIOCGIFINDEX /* misprint compatibility  |
| :-) */                                  |
|                                         |
\ -- /usr/include/bits/ioctls.h           /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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