Hello, I am doing the Linux command line course, I have a basic query " once I delete a file/folder using "rm" command, is there a way to recover deleted items like in Windows we use recycle bin to restore deleted files. ?? Thanks
Linux Command Line
I don't believe there is an equivalent of a Recycle Bin in Windows. So easy...not Windows easy.
Look here that might help you:
under the section
How to restore files deleted with rm command using Terminal
*if the post above has answered the question, please mark the topic as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied support or guarantee by the ITProTV team.
I create an alias for rm that moves the files to another location. You can setup an alias in your .profile. You have to be sure to clear out the other location every so often or create a cron entry to periodically clean it out by performing the real rm.
Haven't viewed this course. Not sure how in depth it goes.