Click to See Complete Forum and Search --> : brackets or.......?


UkrainianTire
10-04-2001, 12:11 PM
Ok, this may be simple. but for some reason its driving me crazy. i'm trying to remove a file with the name -x but the rm command keeps thinking thats a switch. now i know there must be some combination of brackets and voodoo involved. Need some suggestions. Thanks.


Siggy

slacker_x
10-04-2001, 12:19 PM
try rm ./"-x" or rm ./\-x

UkrainianTire
10-04-2001, 12:23 PM
Both worked. You're my new hero.