Re: [PHP] PHP / mySQL Project... Real men use 'cat'
[email protected] (Pete Ford)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
On 24/02/10 08:20, shiplu wrote: > Lots of confusion! > > So I tried this, > > $ for x in cat dog rabbit rat; do echo -n "$x "; if whatis $x> > /dev/null; then echo found; else echo not found; fi ; done; > cat found > dog not found > rabbit not found > rat not found > > > That's easy to fix: sudo ln -s /bin/cat /bin/dog sudo ln -s /bin/cat /bin/rabbit sudo ln -s /bin/cat /bin/rat Sorted...