Mar 6, 2007 #1 czins Technical User Jan 14, 2002 37 CH Hello, I produced accidentally a file named: /tmp/-c I tried following commands to remove it: rm * rm "-c" rm "\-c" rm '-c' but I was not successfull. Does somebody have an idea ? Regards Stefan
Hello, I produced accidentally a file named: /tmp/-c I tried following commands to remove it: rm * rm "-c" rm "\-c" rm '-c' but I was not successfull. Does somebody have an idea ? Regards Stefan
Mar 6, 2007 #2 KenCunningham Technical User Mar 20, 2001 8,475 GB Perhaps rm --c I want to be good, is that not enough? Upvote 0 Downvote
Mar 6, 2007 1 #3 Ogzilal MIS Oct 9, 2003 280 FR Hi, use -- to delimit end of switches, then -c as the name Code: rm -- -c Upvote 0 Downvote
Mar 6, 2007 #4 KenCunningham Technical User Mar 20, 2001 8,475 GB Doh. That's probably what I meant!! I want to be good, is that not enough? Upvote 0 Downvote
Mar 6, 2007 Thread starter #5 czins Technical User Jan 14, 2002 37 CH Hello Ken and aau, thanks a lot for your help, it worked perfectly. Regards Stefan Upvote 0 Downvote