How do you find the symbolic links to files.
Gene Spafford
spaf at cs.purdue.EDU
Mon Nov 26 06:32:04 AEST 1990
In article <BZS.90Nov21184414 at world.std.com> bzs at world.std.com (Barry Shein) writes:
>
>>> How do you find the # of and locations of all links to a file?
>>
> % ls -i foo
> 4924 foo
> % find /mount-point -inum 4924 -print
Somewhat faster, but requiring root access, you can use the "ncheck"
command if your system has it:
# ncheck -i 4924 /dev/rsd1c
--
Gene Spafford
NSF/Purdue/U of Florida Software Engineering Research Center,
Dept. of Computer Sciences, Purdue University, W. Lafayette IN 47907-2004
Internet: spaf at cs.purdue.edu uucp: ...!{decwrl,gatech,ucbvax}!purdue!spaf
More information about the Comp.unix.internals
mailing list