good at unix? try this.

my script accidently made a file in UNIX, but now can't delete it. Can anyone tell me how to delete it. the file name is -tm-com. I tried rm *com and rm -f *com, but it won't work because it thinks -t is an option.

thanks!

所有跟帖: 

回複:good at unix? try this. -急呀!!!!- 給 急呀!!!! 發送悄悄話 (61 bytes) () 04/06/2005 postreply 21:25:41

回複:回複:good at unix? try this. -kf-ying- 給 kf-ying 發送悄悄話 (137 bytes) () 04/06/2005 postreply 21:33:12

回複 -急呀!!!- 給 急呀!!! 發送悄悄話 (359 bytes) () 04/06/2005 postreply 21:50:06

回複:good at unix? try this. -rm"-t-com- 給 rm (13 bytes) () 04/06/2005 postreply 22:11:16

rm -r "--filename" or -Linux- 給 Linux 發送悄悄話 (49 bytes) () 04/06/2005 postreply 22:18:59

rm ./ worked, rm " " does not -kf-ying- 給 kf-ying 發送悄悄話 (6 bytes) () 04/07/2005 postreply 20:21:57

rm \-tm\-com -tty- 給 tty 發送悄悄話 tty 的博客首頁 (0 bytes) () 04/06/2005 postreply 23:09:43

請您先登陸,再發跟帖!