How to find directory name at end of symbolic links

Bruce Barnett barnett at crdgw1.crd.ge.com
Wed Mar 15 00:28:37 AEST 1989


In article <27 at crdgw1.crd.ge.com>, I wrote:
>>	$ (cd /dir1/a ; /bin/pwd)
>You may wish to do a 'set hardpaths' first.

Oops! Sorry about that. you only need to set hardpaths if you use $cwd in csh.
pwd always gives you the 'hardpath'

--
	Bruce G. Barnett 	barnett at ge-crd.ARPA, barnett at steinmetz.ge.com
				uunet!steinmetz!barnett



More information about the Comp.unix.questions mailing list