Re: PHP / mySQL Project... Real men use 'cat'
| From: | Ashley Sheridan | Date: | Wed, 24 Feb 2010 10:12:22 +0000 |
| Subject: | Re: PHP / mySQL Project... Real men use 'cat' | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-302338@lists.php.net to get a copy of this message | ||
On Wed, 2010-02-24 at 09:18 +0000, Pete Ford wrote:
> 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...
>
But now they're in /bin, surely at some point you'll want to execute
these poor pets? Haven't they been through enough already?!
Thanks,
Ash
http://www.ashleysheridan.co.uk