[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: remove file with special name



> By incident I created a file with the name  -name, how can I remove this
> file? I tried with rm \-name however this doesn't work.
> Any suggestion?
> regards,
> hugo

In the same dir try:

rm ./-name

or rm './-name'

or rm "./-name"

other than that, I'm out of suggestions.


Pete

In a world with out fences, who needs Gates?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]