Hi,
How to remove a file accidently named (created) as "-a". I have tried [i]rm \-a [i]but its not working.
Hi,
How to remove a file accidently named (created) as "-a". I have tried [i]rm \-a [i]but its not working.
Hi.
There's a number of ways. One of the simplest is rm -- -a
Or:
rm ./-a
Thanks a LOT.
rm -- '-a my
fancy
file in MY
$HOME
directory
with / and * if my filesystem allows them.... and even !@#$%^&*()_+-='
Are you sure you visited the correct website today?
Yes, I am sure. Don't go offtopic.