home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.shell
- Path: sparky!uunet!munnari.oz.au!mips!mips!news.cs.indiana.edu!nstn.ns.ca!cs.dal.ca!ug.cs.dal.ca!digdon
- From: digdon@ug.cs.dal.ca (Mike Digdon)
- Subject: Re: How can I rm a file with a '&' ????
- Message-ID: <Bt143B.110@cs.dal.ca>
- Sender: usenet@cs.dal.ca (USENET News)
- Nntp-Posting-Host: ug.cs.dal.ca
- Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada
- References: <S025H1G@obh.in-berlin.de>
- Date: Sat, 15 Aug 1992 14:25:58 GMT
- Lines: 19
-
- In article <S025H1G@obh.in-berlin.de> nummer_5@obh.in-berlin.de (Christian Wierzbicki) writes:
- >Can anybody answer this question... Please be quick cos this file is about
- >3 megs of size...
- >
- >Ciao...
- > nummer_5@obh.in-berlin.de
- >
- >
-
- Easy.. if the filename is test& then simply use:
-
- rm test\&
-
- In any case, just put a backslash before the & (or any metacharacter)..
-
- --
- Mike Digdon - Vice Prez DSCSS - Dalhousie University
- digdon@ug.cs.dal.ca -- Halifax, NS
- - Real programmers never work nine to five -
-