Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!dsl.pitt.edu!pitt!darth!investor!rbp From: rbp@investor.pgh.pa.us (Bob Peirce #305) Newsgroups: comp.unix.admin Subject: Re: help removing a file Message-ID: <1990Sep11.115659.7295@investor.pgh.pa.us> Date: 11 Sep 90 11:56:59 GMT References: <1990Sep5.180847.21767@zaphod.mps.ohio-state.edu> Reply-To: rbp@investor.pgh.pa.us (Bob Peirce #305) Distribution: usa Organization: Cookson, Peirce & Co., Pittsburgh, PA Lines: 19 In article <1990Sep5.180847.21767@zaphod.mps.ohio-state.edu> harmon@function.mps.ohio-state.edu (Jim Harmon) writes: >Could someone someone help me with removing a file. On our system we have a >file that appears as zhang?evai.tex when doing a `ls` but a tab completion >says it's zhangNevai.tex. I've tried putting a back slash in front of the ? >and quoting the whole name. I even tried doing `rm -i *` and it matches >zhangNevai.tex but says there's No such file or directory. When confronted with this situation on my system I try mv *zh*tex* foo rm foo The actual regex depends on the problem. The point is that mv seems to be able to work on files where rm won't, so you mv it to a name rm can use. -- Bob Peirce, Pittsburgh, PA 412-471-5320 ...!uunet!pitt!investor!rbp rbp@investor.pgh.pa.us