help removing a file

Rohit Gupta gupta at ux1.cso.uiuc.edu
Thu Sep 6 04:43:23 AEST 1990


harmon at function.mps.ohio-state.edu (Jim Harmon) writes:

>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.

Try using its inode to remove it. First do an 'ls -i' to determine its inode
number. Lets say that this returns 33007. Next enter the following:

	 find . -inum 33007 -exec rm {} \;

That should remove it.

Rohit

-- 
 -------------------- Rohit Gupta --------  (217)244-1205 --------------------
 Internet:rohit at uiuc.edu   UUCP:uunet!uiucuxc!ux1!gupta  BITNET:GUPTA at UIUCVMD 
 --------------- University of Illinois Computing Services Office ------------



More information about the Comp.unix.admin mailing list