Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bad File....

Status
Not open for further replies.

pmcmicha

Technical User
May 25, 2000
353
I need to get rid of a certain file that someone before me has created, but it will not remove due to how it is named.

The file name is: -Ftemp.lst and it seems to exist outside the directory hierarchy as it appears above the current working directory:

-rwxrwxrwx 1 noone nogrp 4608 Aug 14 09:43 -Ftemp.lst
drwxrwxrwx 4 noone nogrp 4096 Oct 16 16:39 .
drwxrwxrwx 4 noone nogrp 12288 Oct 16 10:19 ..


Due to the "-" character, I cannot seem to remove it from the filesystem. I have tried to escape the character, but this has not helped. Short of having to unmount the file system, is there any other way to remove this file?

UNIX VERSION == SCO UNIXWARE 7.1.1

Thanks in advance.
 
Ken,

Thanks, worked like a champ.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top