How to find directory name at end of symbolic links

Arnold D. Robbins {EUCC} arnold at mathcs.emory.edu
Sat Mar 11 04:07:36 AEST 1989


In article <304 at unet.UUCP> maine at unet.PacBell.COM (Dennis J. W. Maine) 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.

Easy enough:

	$ (cd /dir1/a ; /bin/pwd)
-- 
Unix is a Registered   | Arnold Robbins -- Emory University Computing Center
Bell of AT&T Trademark | DOMAIN: arnold at unix.cc.emory.edu		
Laboratories.          | UUCP: gatech!emory!arnold	PHONE:	+1 404 727-7636
        -- Donn Seeley | BITNET: arnold at emoryu1		FAX:	+1 404 727-2599



More information about the Comp.unix.questions mailing list