Can't remove or move file

Rem P Roberti remegius at
Fri Aug 20 16:36:51 UTC 2010

>> No switch with either the rm or mv command works.  What is actually going on
>> here?
> > From the man page:
>       The rm command uses getopt(3) to parse its arguments, which allows it to
>       accept the `--' option which will cause it to stop processing flag
>       options at that point.  This will allow the removal of file names that
>       begin with a dash (`-').  For example:
>             rm -- -filename
> -Sean

Yep...I just simply missed that one.  Thanks.


More information about the freebsd-questions mailing list