From owner-freebsd-questions Thu Sep 13 8: 0:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from comp04.prc.uic.edu (comp04.prc.uic.edu [128.248.230.104]) by hub.freebsd.org (Postfix) with SMTP id 08C4537B401 for ; Thu, 13 Sep 2001 08:00:07 -0700 (PDT) Received: (qmail 40796 invoked by uid 1000); 13 Sep 2001 15:00:28 -0000 Date: Thu, 13 Sep 2001 10:00:28 -0500 From: Lucas Bergman To: Andre Cameron Cc: questions@freebsd.org Subject: Re: Link help please:) Message-ID: <20010913100028.A39606@comp04.prc.uic.edu> Reply-To: lucas@slb.to References: <009101c13c05$8ae28a90$4dd92d18@andre2pj3ipvtr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <009101c13c05$8ae28a90$4dd92d18@andre2pj3ipvtr>; from camcom@optonline.net on Wed, Sep 12, 2001 at 11:38:24PM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I made a link in /home/anic called www to > /usr/local/psa/home/vhosts/anic.cc so my directory looks like > this:... > > when I go into www and do my thing, when I'm done and do cd .. to go > back up one I goto /usr/local/psa/home/vhosts instead of where I > enterd the link at /home/anic Do you understand what I mean? Now in > RedHat(Once again I know this is not redhat) it works the right way > ie cd .. from a link brings you up to where you enterd the link:) > Does anyone have any idea? Yes. The 'cd' command isn't an executable; it's a command built into your shell. So, it stands to reason that if you use the same shell you used to use, then 'cd' will behave like it used to. (In particular, {t,}csh doesn't bother remembering links, but bash and some implementations of ksh do.) > Also, I know of a custom system that when I do where domain.com it > tells me the directory... anyone know of a similar command for > FreeBSD? I'm afraid I don't understand. Lucas To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message