News for hackers. Stuff that matters.
Re:How do I prevent accidental rm -rf /*? by weaksauce on Saturday December 03, 2011 @04:12PM (#3308841)
One thing that you can do is ls what you want to delete and then do a ^ls^rm -rf to replace ls with rm -rf in the last command if satisfied.

you can even do a ls -rf ./somedirectory and then just do ^ls^rm at least you can in bash on os x.

There are no comments on this comment yet.