Which is why I mentioned the glob operator! Speaking of which, if you
did touch '/-i', it would catch
rm -rf /*
Ironically, I was thinking of adding that
specific directories would not be caught (obviously), but I figured that would be understood implicitly since most people ought to know what <asterisk> actually does in the shell. And if they don't...
Edit: I just noticed that the glob operator in my first comment didn't show up, because it was eaten by markdown. Incidentally, so was the asterisk in your post! That might be the source of your confusion. In that case, I should specify such a trick only works with:
rm -rf *
rm -rf /*
rm -rf ~/*
Or similar.
Not specific files. But, again, I appeal to the importance of understanding what the glob operator
actually does!
As an aside, the context of this post is a mistake in steam.sh which may essentially do:
rm -rf /*
So, the discussion implicitly has nothing to do with exact paths. :)