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.

Chris


------------------------------------------------------------------------




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

Reply via email to