Here is a useful tip: Whenever you use wildcards with rm (besides carefully checking your typing!), test the wildcard first with ls. This will let you see the files that will be deleted. Then press the up arrow key to recall the command and replace the ls with rm.
A little tip for using rm. First use "ls"command to see the files u r about to del.
Share this highlighthttp://learning.oreilly.com/a/the-linux-command/4571775/