That's because 'cd' isn't a command, it's a shell builtin, so its'
always available.  Use a full path to the command you want, and it'll
work.  So rather than 'mv' use '/bin/mv' or whatever.

cheers,
barneyb

On Fri, 11 Feb 2005 17:07:38 +0000, Stephen Moretti (cfmaster)
<[EMAIL PROTECTED]> wrote:
> Folks!!
> 
> Made a serious and seriously stupid mistake!
> 
> I've got 2 bash windows open to my server and was moving some things
> around carefully when I accidently switch windows and managed to move
> the /lib folder!
> 
> Now I know where the /lib folder went and where it should be, but the
> only file type command I seem to be able to get access to is cd!
> cp/mv/ls/ln/df (plus all the other functions in the /bin folder) are now
> saying "no such file or command"
> 
> How can I copy the /lib folder back to where it should be?
> 
> Stephen (in pain mode!)
> 
> 

-- 
Barney Boisvert
[EMAIL PROTECTED]
360.319.6145
http://www.barneyb.com/

Got Gmail? I have 50 invites.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Purchase Dreamweaver with Homesite Plus from House of Fusion, a Macromedia 
Authorized Affiliate and support the CF community.
http://www.houseoffusion.com/banners/view.cfm?bannerid=54

Message: http://www.houseoffusion.com/lists.cfm/link=i:14:3841
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/14
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:14
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.14
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to