• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Question on File deletion on Linux

err

Platinum Member
Hi, a newbie question 🙂

If I delete a file using rm / rmdir command from the prompt, is it permanently deleted ? Is there anyway I can recover it ?

Also, by default Unix doesn't let you delete directory with stuffs in it. How do I overwrite that and delete the whole thing ? (tried the --ignore ... switch.. doesn;t work 🙁)

Please enlighten me 🙂

eRr
 
Another way to make UNIX like systems more microsoftish is you can alias rm and rm -r to something like mv ~/.trashcan

 


<< Another way to make UNIX like systems more microsoftish is you can alias rm and rm -r to something like mv ~/.trashcan >>



That's a great tip. Never thought of that one. I think I'll do that (and tack on a line in the shutdown script to clear the "trashcan" at shutdown).
 


<<

<< Another way to make UNIX like systems more microsoftish is you can alias rm and rm -r to something like mv ~/.trashcan >>



That's a great tip. Never thought of that one. I think I'll do that (and tack on a line in the shutdown script to clear the "trashcan" at shutdown).
>>



I did that for a while, but I just found it annoying. I live with my mistakes and pray I backed that part up 😉
 
Back
Top