bug-fileutils
[Top][All Lists]
Advanced

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

Re: HELP


From: Bob Proulx
Subject: Re: HELP
Date: Sun, 5 Nov 2000 16:21:56 -0700 (MST)

> How could I remove the file"
> 
> "-rw-r--r--   1 esportse bbsuser         0 Nov  5 12:56 -rwxr-xr-x"

This is an almost standard answer to your commonly asked question.

As you noted since the file name begins with a '-' it looks like an
option to the command.  You need to force it to not look like an
option.  Put a ./ in the front of it.  Or give it the full file name
path.  Or tell the command you are through with options by using the
double dash to end all option processing.  This is common to most
traditional UNIX commands.

  rm ./-stuff
  rm /full/path/-stuff
  rm -- -stuff

Bob



reply via email to

[Prev in Thread] Current Thread [Next in Thread]