Removing a file with < as the first character

If it doesn't fit in another category, ask it here.
Post Reply
Light_Speed
Posts: 32
Joined: 2008/01/07 22:47:12

Removing a file with < as the first character

Post by Light_Speed » 2012/03/23 21:34:08

How can I remove a file with < as the first character?

When I try to rm <rest_ofName I get an error.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Removing a file with < as the first character

Post by TrevorH » 2012/03/23 23:33:37

Escape it

[code]
rm \<rubbish
[/code]

Post Reply