Re: [PHP] PHP / mySQL Project... Real men use 'cat'

[email protected] (Ashley Sheridan)
Newsgroups php.general
Message-ID <1267006342.23066.5.camel@localhost>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.