Linux - Removed Files By Accident How To Get Them Back?

Forums » General Errors » Linux - Removed Files By Accident How To Get Them Back?
This Page Contains information about Linux - Removed Files By Accident How To Get Them Back? By pinguin with 3 Replies. Last Upated: Thu Apr 17, 2014
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
pinguin
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
http://wallpaperama.com/forums/removing-a-directory-and-its-files-t81.html
pinguin
I tried what you told me but i get this error when i followed your instructions:

rmdir: `html': Directory not empty
pinguin
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
Title: Linux - Removed Files By Accident How To Get Them Back? [2571]
Tags: removing a directory and its files
By , 3 Comments