UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _______________________________________
/ feature, n:                           \
|                                       |
| A surprising property of a program.   |
| Occasionaly documented. To            |
|                                       |
| call a property a feature sometimes   |
| means the author did not              |
|                                       |
| consider that case, and the program   |
| makes an unexpected, though           |
|                                       |
| not necessarily wrong response. See   |
| BUG. "That's not a bug, it's          |
|                                       |
| a feature!" A bug can be changed to a |
\ feature by documenting it.            /
 ---------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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