Path: utzoo!utgpu!water!watmath!clyde!rutgers!cmcl2!brl-adm!adm!rwelsh@cct.bbn.com From: rwelsh@cct.bbn.com (Robert J. Welsh) Newsgroups: comp.unix.questions Subject: Re: Accessing files by inode #s Message-ID: <11525@brl-adm.ARPA> Date: 28 Jan 88 17:55:02 GMT Sender: news@brl-adm.ARPA Lines: 22 Will, If you want to get rid of files that have control characters etc in their name, this should work: 1) ls -i to get the inode number 2) set `ls -i | grep `; rm $2 If you just want to rename the file so you can get at it, replace the rm $2 with mv $2 or any other command, using $2 as the source file name. This will work in the standard shell, 'sh', and derivatives thereof. Regards, Rob Welsh