tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Shaun.Racine@intier.com
Subject: How to see real pwd instead of symbolic under ksh
Date: Mon, 28 Apr 2003 14:34:48 +0100	[thread overview]
Message-ID: <OF3CBB7DA5.79F5AF19-ON80256D16.00492A03@MIS.Magna-Europa.com> (raw)

Hi all,

TRU64 v5.1A pk4 non-clustered

Under ksh, when I cd /usr/spool/cron and pwd I see "/usr/spool/cron",
although I am really in /var/cluster/members/{memb}/spool/cron/.

Is there a command to see the real path of a directory, without stepping
through each one in turn with ls -ld?

Background: I backed up /, /usr & /var to a new on-line disk partitions
called /exroot, /exusr & /exvar before trashing /, /usr & /var and
reinstalling Unix.  When I wanted the original cron jobs I instinctively
went to /exusr/spool/cron, but found it empty because I was really in the
new, clean /var partition.  I should have gone to /exvar/spool/cron, didn't
occur to me until following week (duh!).

TIA
Shaun Racine



                 reply	other threads:[~2003-04-28 13:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox