Jul 30, 2008
Avoiding catastrophe!
Posted by Martin Perron in HowTo - Linux • No commentsAll UNIX administrators, if they’ve not been bit by a typo like this, have heard of it (or something like it) happening:
cd /
rm -rf foo *
Notice the extra space, and the current working directory. Instead of deleting directories beginning with the name “foo” it will delete everything!
How can this be avoided? There are number [...]
