How to find directory name at end of symbolic links
Juergen Wagner
gandalf at csli.STANFORD.EDU
Fri Mar 10 07:55:00 AEST 1989
In article <304 at unet.UUCP> maine at unet.PacBell.COM (Dennis J. W. Maine) groovily writes:
>I am using SunOs 3.5 and want to know how to find out the directory
>name at the end of a series of symbolic links.
You have to use the readlink system call. On csli.stanford.edu I have put a
program readlink (anon ftp from pub/Gandalf) which does what you want.
--
Juergen Wagner gandalf at csli.stanford.edu
wagner at arisia.xerox.com
More information about the Comp.unix.questions
mailing list