Removing A Directory And Its Files

Mobile
feeds
Welcome Login | Register

Removing A Directory And Its Files
  Forums Index
      » General Errors Forums
        » » Removing a Directory and Its Files



Removing A Directory And Its Files
Post Description:
Post Tags: removing, a, directory, and, its, files, general errors, computer software error, free help, free technical support
This Post Has Been Viewed 656 Times Since Sun Jul 30, 2006 10:38 am Posted By pinguin with 3 replies
Removing A Directory And Its Files
Hello Webune,

I want to remove a folder from my server I am leasing through your dedicated server service. What command should I use?

this is an update to my post here, i found this post helpful:

http://www.wallpaperama.com/disp-post23.html


Leave Your Comments






Share
URL:
You can use this HTML code to put it on your website to show your friends this wallpaper. Use this code on your profile like myspace, friendster, Facebook or others. Just Copy and Paste it in your HTML on your websites



Fourms BBCODE:
BBCODE is use on forums. You can put this code on all your BBCODE enabled forums like PhpBB, vBulletin® and others. Just Copy and Paste this code on your Posts and Replies on your forums





Comments and replies About Removing A Directory And Its Files




:: 1 :: Reply #55 Reply By pinguin On Sun Jul 30, 2006 12:13 pm
Folders are for windows-

Linux folders are called "Directories" -

To remove a directory, send this command on you SSH session:


     Code:
rmdir /path/to/directory/name

/path/to/directory/name is the full path to where the directory is at that you want to delete.

Example: I wan to delete the forums directory and the forums directory is at /var/www/html/forums i would have to do this:

move to the html directory

     Code:
cd /var/www/html


Then delete the forums directory

     Code:
rmdir forums


DONE
:: 2 :: Reply #56 Reply By pinguin On Sun Jul 30, 2006 12:18 pm
I tried what you told me but i get this error when i followed your instructions:

rmdir: `html': Directory not empty
:: 3 :: Reply #57 Reply By pinguin On Sun Jul 30, 2006 12:20 pm
If you are getting this eror, follow the instruction in this post and you should be able to delete it:


http://www.webune.com/forums/fix-error-rmdir-html-directory-not-empty-t80.html