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.
所有跟帖:
• 回複:good at unix? try this. -急呀!!!!- ♀ (61 bytes) () 04/06/2005 postreply 21:25:41
• 回複:回複:good at unix? try this. -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- ♀ (13 bytes) () 04/06/2005 postreply 22:11:16
• rm -r "--filename" or -Linux- ♀ (49 bytes) () 04/06/2005 postreply 22:18:59
• rm ./ worked, rm " " does not -kf-ying- ♀ (6 bytes) () 04/07/2005 postreply 20:21:57
• rm \-tm\-com -tty- ♂ (0 bytes) () 04/06/2005 postreply 23:09:43