We all know about using ls
before a wildcarded rm
to make sure
that we're only deleting what we want. But that doesn't really solve
you can type
(will make less output if any subdirectory names match the wildcard.)
Using the history mechanism to grab the previous command's arguments is a good way to prevent mistakes.