From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,45755cd451a211de,start X-Google-Attributes: gidfee84,public From: paschueller@ccgate.hac.com (Philip A. Schueller) Subject: Re: Help: deleting directories with !2 in name Date: 1995/11/30 Message-ID: #1/1 X-Deja-AN: 120500775 references: organization: Hughes Aircraft Company newsgroups: comp.unix.osf.osf1 In article , "Joyce Cooper (EPCD)" wrote: > If I try going into these directories > to remove the files 'cd os!2_sys' e.g., I get the error message "2: event > not found". > > Any suggestions? > Whenever referring to an object that contains an exclaimation point, try quoting the symbol with a backslash. I.e., try: cd os\!2_sys Same goes for rm and rmdir. This quoting inhibits the shell from interpreting the exclaimation point as a history event.