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