UCLA Linux User Group. Free as in Freedom.

404 Not Found

Enjoy a randomly generated fortune:


$ fortune | cowsay

 ________________________________________
/ Now, it we had this sort of thing:     \
|                                        |
| yield -a for yield to all traffic      |
|                                        |
| yield -t for yield to trucks           |
|                                        |
| yield -f for yield to people walking   |
| (yield foot)                           |
|                                        |
| yield -d t* for yield on days starting |
| with t ...you'd have a lot of dead     |
| people at intersections, and traffic   |
| jams you wouldn't believe...           |
| (Discussion in comp.os.linux.misc on   |
\ the intuitiveness of commands.)        /
 ----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||


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