Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!news.mathworks.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@awfulhak.demon.co.uk (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 2nd try: amd -vs- home directories... Date: 30 Sep 1996 17:32:43 +0100 Organization: Coverform Ltd. Lines: 20 Message-ID: <52osnb$10i@anorak.coverform.lan> References: <3246BCFD.41C67EA6@baynetworks.com> <529ok3$mao@anorak.coverform.lan> <324A6F3A.41C67EA6@baynetworks.com> <52eb6p$jr1@client3.news.psi.net> <324BCBEF.41C67EA6@baynetworks.com> NNTP-Posting-Host: localhost.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk X-Newsreader: TIN [version 1.2 PL2] Robert Withrow (bwithrow@baynetworks.com) wrote: : > Check your .profile or .login scripts -- I bet there is a "cd $HOME" in : > there somewhere. : Nope: : bash$ ls -a -1 . /etc | xargs grep \$HOME 2>/dev/null | grep cd : produces nothing... Try putting a "cd ~" in /etc/profile. You'll see the version of your path from the password file rather than the "real" one - assuming you've got a shell that "buffers" your current path (and understands ~....). Maybe the bash on the Sun machine initialises $PWD from $HOME - $HOME is initialized by login. -- Brian <brian@awfulhak.demon.co.uk> Don't _EVER_ lose your sense of humour....