Can't remove or move file
    Sean 
    sean at ttys0.net
       
    Fri Aug 20 16:31:04 UTC 2010
    
    
  
> No switch with either the rm or mv command works.  What is actually going on
> here?
>From the man page:
NOTES
     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
    
    
More information about the freebsd-questions
mailing list