HomeContactFree HelpSearchNetworkProducts


Search



Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new


CHID: 5744

Question

I want to delete a folder which contails a zip file on Linux . Itried usting the command command 'rm' with -fr option , but it says can't remove 'dir name':Permission denied.

Answer

From the sounds of it when you're using the rm command you are getting an error similar to the below error message. (In the below examples 'hope' is the name of our directory)

rm -rf hope
rm: cannot chdir from `.' to `hope': Permission denied

First try using just the -r switch
rm -r hope

If that doesn't work try using the rmdir command

rmdir hope

Additional information about each of the rm and rmdir command can be found on the below links.
http://www.computerhope.com/unix/urm.htm
http://www.computerhope.com/unix/urmdir.htm


Disclaimer: This page is an automatically generated page from a Computer Hope e-mail sent on 07/05/2005 at 11:33. This message is not edited and likely contains spelling and grammar errors. Additional information about CHID's can be found on document CH000717.



Other Pages:
Main Page | Computer help | Contact | Dictionary | Products
Games | Art/Images | HTML Help | Virus Info | Network
Link to Computer Hope | Bookmark Computer Hope



Search:

Copyright 1998-2005 by Computer Hope (tm). All rights reserved
Legal Disclaimer | ESD Warning | Privacy Statement