On 1/31/06, Christian Seberino <[EMAIL PROTECTED]> wrote:
> Very cool! Thanks! It worked.
>
> Somehow you and SJS knew something that was NOT in rmdir man page!
>
> Chris
>
> On Tue, 2006-01-31 at 10:44 -0800, James G. Sack (jim) wrote:
> > rmdir -- -p
> >
> > Expl: the '--' tells the program to stop looking for option-parms in the
> > remainder of the command line argument list. Thus the '-p' is treated as
> > a real argument, namely the name of a directory to delete.
> >
> > ..jim
> >
> > Christian Seberino wrote:
> > > How remove a directory called -p on my hard drive?
> > >
> > > I don't know how it got there but the dash is a killer.

It's not a property of  "rmdir", it is a property of the shell.  You
realize, of course, that you were asking perhaps the most Frequently
Asked of all Frequently Asked Questions.

    carl
--
    carl lowenstein         marine physical lab     u.c. san diego
                                                 [EMAIL PROTECTED]


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to