in reply to Re: deleting directory named -I (as Ice).
in thread deleting directory named -I (as Ice).

but... rm ./-I will delete the file

Almost. It's a directory, so you would need rm -R to get rid of it (and everything in it).

Pepik


Of all the causes that conspire to blind
Man's erring judgment, and misguide the mind,
What the weak head with strongest bias rules,
Is pride, the never-failing vice of fools.
-- Pope.
(Humble to be American.)

  • Comment on Re: Re: deleting directory named -I (as Ice).