From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: How to see real pwd instead of symbolic under ksh Date: Mon, 28 Apr 2003 14:34:48 +0100 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1051536921 30852 80.91.224.249 (28 Apr 2003 13:35:21 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 28 Apr 2003 13:35:21 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Apr 28 15:35:20 2003 Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19A8mt-00081J-00 for ; Mon, 28 Apr 2003 15:35:19 +0200 Original-Received: (qmail 31565 invoked by uid 5); 28 Apr 2003 13:36:18 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 31554 invoked by uid 49493); 28 Apr 2003 13:36:17 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(0.3/5.0):. Processed in 0.388825 secs); 28 Apr 2003 13:36:17 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 28 Apr 2003 13:36:17 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HE200I4C34C4T@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 28 Apr 2003 09:36:16 -0400 (EDT) Original-Received: from mail.magna-europa.com (mail.magna-europa.com [212.184.111.38]) by emroute2.cind.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0HE200J573461A@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 28 Apr 2003 09:36:08 -0400 (EDT) Original-Received: from mail.MIS.Magna-Europa.com ([172.28.32.9] verified) by mail.magna-europa.com (CommuniGate Pro SMTP 4.0.1) with ESMTP id 18228628 for tru64-unix-managers@ornl.gov; Mon, 28 Apr 2003 15:25:40 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 X-MIMETrack: Serialize by Router on MISGROUP01DS/SVR/MISGroup(Release 5.0.4 |June 8, 2000) at 28/04/2003 14:34:49 Xref: main.gmane.org gmane.os.tru64.managers:4071 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:4071 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