UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 _________________________________________
/ An interpretation _I satisfies a         \
| sentence in the table language if and   |
| only if each entry in the table         |
| designates the value of the function    |
| designated by the function constant in  |
| the upper-left corner applied to the    |
| objects designated by the corresponding |
| row and column labels.                  |
|                                         |
| -- Genesereth & Nilsson, "Logical       |
| foundations of Artificial               |
|                                         |
\ Intelligence"                           /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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