UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/  There once was a master programmer who \
| wrote unstructured programs. A novice   |
| programmer, seeking to imitate him,     |
| also began to write unstructured        |
| programs. When the novice asked the     |
| master to evaluate his progress, the    |
| master criticized him for writing       |
| unstructured programs, saying: "What is |
| appropriate for the master is not       |
| appropriate for the novice. You must    |
| understand the Tao before transcending  |
| structure."                             |
|                                         |
| -- Geoffrey James, "The Tao of          |
\ Programming"                            /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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