On Sun, Apr 07, 2002 at 07:29:21PM -0700, Horst wrote:
>-rwxr-xr-x    6 root     root        66812 Jan 27  2001 /usr/bin/host
>-rwxr-xr-x    6 root     root        66812 Jan 27  2001 /usr/bin/aaaa
>
>Well, doesn't the 6 indicate there are 4 more surprises to come, like
>'bbbb' .... but I still wouldn't know how to de-reference what else points
>to the same I-node ?

"ls -i" will show the inode number, which you can then use to search for
other links:

   [2] guin:bin# ls -i zgrep
    409514 zgrep*
   [2] guin:bin# find . -inum 409514
   ./zfgrep
   ./zgrep
   ./zegrep
   [2] guin:bin# ls -li | grep 409514
    409514 -rwxr-xr-x    3 root     root         1.4k Aug 23  2001 zegrep*
    409514 -rwxr-xr-x    3 root     root         1.4k Aug 23  2001 zfgrep*
    409514 -rwxr-xr-x    3 root     root         1.4k Aug 23  2001 zgrep*

Sean
-- 
 Thieves broke into Scotland Yard yesterday and stole all the toilets.
 Detectives say they have nothing to go on.
Sean Reifschneider, Inimitably Superfluous <[EMAIL PROTECTED]>
tummy.com - Linux Consulting since 1995. Qmail, KRUD, Firewalls, Python

Reply via email to