[Ilugc] Removing a file starts with -
rmathews at gmail.com
Mon Jun 12 21:44:07 IST 2006
On 6/12/06, R. Ramkumar <andyetitmoves at gmail.com> wrote:
> > I have created a directory called '-p'.
> > how to remove this file.
> provide ./-p as the argument...
A look at
info coreutils common\ options
tells us that:
Certain options are available in all of these programs. Rather than
writing identical descriptions for each of the programs, they are
described here. (In fact, every GNU program accepts (or should
accept) these options.)
Delimit the option list. Later arguments, if any, are treated as
operands even if they begin with `-'. For example, `sort -- -r' reads
from the file named `-r'.
More information about the ilugc