LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   does linux have recyle bin like windows to recover lost files (https://www.linuxquestions.org/questions/linux-newbie-8/does-linux-have-recyle-bin-like-windows-to-recover-lost-files-571507/)

fhameed 07-23-2007 12:53 AM

does linux have recyle bin like windows to recover lost files
 
Hello

I want to know if linux has any recycle bin like we have in windows to recover any deleted item.

Moreover in which directory does linux store all the commands.

I'm intrested in writing some of my own commands and making changes to the exisiting one.

Thanks

Fahad Hameed

AceofSpades19 07-23-2007 01:02 AM

its called the trash, linux stores its commands in /usr/bin and /usr/sbin, mostly, but they don't have the source code with them, I'm pretty sure you have to download the sourcecode separately

thloh85 07-23-2007 01:25 AM

Quote:

its called the trash
That's only for gnome desktops. There are variants of ways to delete the files... For instance... If you've used command line to delete your file, you'll have to use recovering tools to recover your files... On gnome, as stated, you'll have a "trash can". On fluxbox... I don't see file manager there... so I can't delete a file from there... I've forgotten what XFCE offered...
SO... It all depends on your file manager for "trash" capability...

AceofSpades19 07-23-2007 02:20 AM

KDE also has the trash can

creativename 07-23-2007 02:26 AM

Some of them have a "Trash" or something like it.

Quote:

Moreover in which directory does linux store all the commands.
It varies, but on my Debian install:
/usr/local/bin, /usr/bin, /bin, /usr/bin/X11, and /usr/games. Also all the /sbin ones...

The source code is not included, but should be available. It depends on the program as to where.


All times are GMT -5. The time now is 03:39 AM.