Path: utzoo!attcan!uunet!lll-winken!ames!apple!rutgers!lilink!mikej From: mikej@lilink.UUCP (Michael R. Johnston) Newsgroups: comp.unix.questions Subject: Re: finding the missing links Keywords: ln Message-ID: <704@lilink.UUCP> Date: 1 Jun 89 12:00:09 GMT References: <207@flattop.UUCP> Reply-To: mikej@lilink.UUCP (Michael R. Johnston) Organization: LILINK Public Xenix, Long Island, New York Lines: 16 In article <207@flattop.UUCP> rcm@flattop.UUCP (Ron McDowell) writes: > >$ echo "hello world" > $HOME/xxx ; ln xxx /tmp/yyy ; ln xxx /usr/tmp/zzz > >I do a 'ls -l /tmp' and see that yyy has 3 links. How can I find the other >two files? The simplest way I know of is to say: ls -i xxx [command returns inode #] ncheck -i inode_number This will return the paths to all the files that share the same inode #. -- Michael R. Johnston System Administrator rutgers!lilink!mikej LILINK Public Access Xenix (516) 872-2137/2138/2349 1200/2400 Login: new