Re: How to delete a special directory

Florian Klien <[email protected]>
Newsgroups org.kernel.vger.linux-admin
Message-ID <[email protected]>
On 09.02.2007, at 15:29, Mário Gamito wrote:
> I've accidently created two directories: -f and -q
>
> Now, i can't remove them with rm -rf -f -q
> I get an error.
>
> Any ideas ?

try: rm -rf -- -f -q

that should do it. with the double dash you end the commands for rm.

hth
florian
-- 
Florian Klien
student of Telematics, tutor for 'Introduction to Structured
Programming' and 'Software Development Practical Exercises'
at Graz university of technology.
"We have persistent objects, they're called files.",
  Ken Thompson


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.