[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Deleting Files beginning with -



On Thursday 08 May 2003 10:19, Kay-Michael Voit wrote:
> Hi,
> I have a file beginning with "-". If I try to delete ist, rm says
> "invalid option". Same thing when I set " or '. How can I delete it?
>

rm -- -file

The double-dash is a sign for "end of options", and rm does not treat 
additional dashes as options.

joerg

-- 
Gib GATES keine Chance!



Reply to: