UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/  if (argc > 1 && strcmp(argv[1],        \
| "-advice") == 0) {                      |
|                                         |
| printf("Don't Panic!\n");               |
|                                         |
| exit(42);                               |
|                                         |
| }                                       |
|                                         |
| -- Arnold Robbins in the LJ of February |
\ '95, describing RCS                     /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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