Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 15:08:50 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Chip <chip@wiegand.org>
Cc:        Boris Stoev <darko@uni-svishtov.bg>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Directory path
Message-ID:  <20000321150850.A18708@hades.hell.gr>
In-Reply-To: <00032017042101.05398@chip.homenet>; from chip@wiegand.org on Mon, Mar 20, 2000 at 05:03:39PM -0800
References:  <20000320163853.B81662@hades.hell.gr> <00032017042101.05398@chip.homenet>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 20, 2000 at 05:03:39PM -0800, Chip wrote:

> Doesn't the comand pwd show the currant path?
> It does for me.

It does for me too.

But using shell's builtin way of showing the current working directory
is usually preferred.  For one thing, if you use `pwd`, then the shell
has to fork and exec a subshell, which will execute the pwd command,
every time that it needs to display `pwd`.  There are other, more
fanciful ways to run a billion processes and see the PID count wrap back
to small numbers again, IMHO ;)

- Giorgos Keramidas


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?20000321150850.A18708>