Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 10:00:28 -0500
From:      Lucas Bergman <lucas@slb.to>
To:        Andre Cameron <camcom@optonline.net>
Cc:        questions@freebsd.org
Subject:   Re: Link help please:)
Message-ID:  <20010913100028.A39606@comp04.prc.uic.edu>
In-Reply-To: <009101c13c05$8ae28a90$4dd92d18@andre2pj3ipvtr>; from camcom@optonline.net on Wed, Sep 12, 2001 at 11:38:24PM -0400
References:  <009101c13c05$8ae28a90$4dd92d18@andre2pj3ipvtr>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010913100028.A39606>