Re:Rm -rf
by rsl7 on Monday April 26, 2010 @10:08AM
(#1294875)
Not a very scalable solution, but if there is a file named -X where X is any option to rm, * will expand to catch it, and if illegal, rm will exit without doing anything. Someone taught me that in college back in the day (sequent/dynix).
[ Parent
| on HN ]
There are no comments on this comment yet.