UNIX (NetBSD) help


(iluvblender) #1

Hi.

Can anyone help me out?

i am using a NetBSD machine. accidentally i named a file -r.

now i wanna remove it.

if i try

rm -r

I get the following error.

Illegal option – r

plz help me out.

Thanks in advance

Satish.


(acasto) #2

Can you do a:

rm ?r


(Sonarman) #3

Try

 rm "-r" 

or

 rm '-r' 

That should work. Good luck! :smiley:


(iluvblender) #4

Hi.

thank you guys.

Satish.