Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 7
    Only problem with this is you may become a little fast and loose with the rm command and forget that you don't have the handy undelete functionality on your company Linux server... oops...
    – jmort253
    Commented May 6, 2011 at 2:34
  • 2
    -1 This has the same problem as over down-voted answers (so I'll steal someone else's comment): one day not have this script in place – maybe you're sitting at another computer or you have ssh'd into somewhere – and you will use rm being used to the safety net and you will do something you regret.
    – DMA57361
    Commented May 6, 2011 at 16:33
  • @Corey Although I agree that this could cause a bad habbit, +1 because this answer has been too heavily downvoted Commented Feb 12, 2017 at 21:56