Site Map - skip to main content

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.

hpr0731 :: Klaatu the ubiquity and potential danger of the rm command

Klaatu explains a creative, more forgiving alternative to the rm command

<< First, < Previous, Latest >>

Hosted by klaatu on 2011-05-22 is flagged as Clean and is released under a CC-BY-NC-SA license.
Tags: bash,cli,command line,script.
Listen in ogg, spx, or mp3 format. | Comments (1)

Klaatu discusses the imbalance between the ubiquity and potential danger of the rm command. He proposes the alternative command, trash.

Get this episode in ogg vorbis.

Git the trash shell script from


Subscribe to the comments RSS feed.

Comment #1 posted on 2011-05-28T13:52:25Z by brother mouse

another approach

Since you like bash:
alias rm="rm -i"

<< First, < Previous, Latest >>

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?