help removing a file

Moellers josef at nixpbe.UUCP
Thu Sep 6 16:38:57 AEST 1990


In <1990Sep5.180847.21767 at zaphod.mps.ohio-state.edu> harmon at 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.

My preferred solution to this kind of problems (You'll never guess how
many people take the left arrow key to be the backspace key, and then
you end up with filenames like .prifi^[[D^[[D^[[Dofile):
do an 'od -c .", then try to find the offending entry (easy with SysV,
not so easy with bsd). Then remove that file.

--
| Josef Moellers		|	c/o Nixdorf Computer AG	|
|  USA: mollers.pad at nixbur.uucp	|	Abt. PXD-S14		|
| !USA: mollers.pad at nixpbe.uucp	|	Heinz-Nixdorf-Ring	|
| Phone: (+49) 5251 104662	|	D-4790 Paderborn	|



More information about the Comp.unix.admin mailing list