Re:How do I prevent accidental rm -rf /*?
by Dylan16807 on Monday December 05, 2011 @01:24AM
(#3313438)
It might be default in some distros but there is no reason not to put it in an alias. The point is that it's already there and you don't have to modify your rm binary.
And how can you detect /* if the shell expands it?
And how can you detect /* if the shell expands it?