*BSD News Article 79273


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!psgrain!usenet.eel.ufl.edu!news.mathworks.com!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!psinntp!psinntp!pubxfer.news.psi.net!dan.emsphone.com!not-for-mail
From: dan@dan.emsphone.com (Dan Nelson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2nd try: amd -vs- home directories...
Date: 26 Sep 1996 16:32:25 GMT
Organization: Executive Marketing Services, Inc.
Lines: 19
Message-ID: <52eb6p$jr1@client3.news.psi.net>
References: <3246BCFD.41C67EA6@baynetworks.com> <529ok3$mao@anorak.coverform.lan> <324A6F3A.41C67EA6@baynetworks.com>
Reply-To: dnelson@emsphone.com (Dan Nelson)
NNTP-Posting-Host: 199.67.51.101
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
X-Newsreader: TIN [UNIX 1.3 unoff BETA release 960805]

Robert Withrow <bwithrow@baynetworks.com> wrote:
> > This has always been a bit of a problem.  When you do the first "pwd",
> > the only way that bash can determine the current directory is by
> > climbing the path:
>
> I wonder why this doesn't happen on sun then?
>
> login: bwithrow
> Password:
> SunOS Release 4.1.4 (GENERIC) #1: Fri Sep 20 13:26:37 EDT 1996
> bash$ pwd
> /usr25/bwithrow
> bash$ echo $HOME
> /usr25/bwithrow

Check your .profile or .login scripts -- I bet there is a "cd $HOME" in
there somewhere.

	-Dan