-i option

  • Unix Tip: Avoiding the Oops

    Posted August 11, 2010 - 7:32 pm

    Ever type "rm -rf dirname" and then realize you've just blown away the wrong directory? You can always alias the rm command to "rm -i", but let's look at a way that you can selectively determine which directories get that special "Are you sure you want to do that" treatment and which get quietly blown away.

Join today!

See more content
Ask a Question