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

请您先登陆,再发跟帖!