LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices

Old

alternative to rm command

Posted 06-16-2010 at 09:00 AM by ultimate_linux

i've seen many users deleting files and reporting how to recover them.
instead of recovering i've thought of redirecting the files deleted to trash.so,that it might be helpful to recover them.
here's how i do it.

1.take a variable,for example:TRASHPATH.
2.assign the exact path of trash to that variable.
most likely,trash path will be /home/username/.Trash.
3.here's the code just paste this into your .bashrc file.

##################code...
Member
Posted in Uncategorized
Views 1896 Comments 4 ultimate_linux is offline

  



All times are GMT -5. The time now is 08:46 AM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration