From owner-freebsd-questions Tue Mar 21 5:18: 7 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.hellasnet.gr (mail.hellasnet.gr [212.54.192.3]) by hub.freebsd.org (Postfix) with ESMTP id 6979A37B80C for ; Tue, 21 Mar 2000 05:17:57 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from hades.hell.gr (ppp2.patr.hellasnet.gr [212.54.197.17]) by mail.hellasnet.gr (8.9.1/8.9.1) with ESMTP id PAA08890; Tue, 21 Mar 2000 15:16:48 +0200 (GMT) Received: (from charon@localhost) by hades.hell.gr (8.9.3/8.9.3) id PAA18804; Tue, 21 Mar 2000 15:08:51 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 21 Mar 2000 15:08:50 +0200 From: Giorgos Keramidas To: Chip Cc: Boris Stoev , freebsd-questions@FreeBSD.ORG Subject: Re: Directory path Message-ID: <20000321150850.A18708@hades.hell.gr> Reply-To: keramida@ceid.upatras.gr References: <20000320163853.B81662@hades.hell.gr> <00032017042101.05398@chip.homenet> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <00032017042101.05398@chip.homenet>; from chip@wiegand.org on Mon, Mar 20, 2000 at 05:03:39PM -0800 X-PGP-Fingerprint: 62 45 D1 C9 26 F9 95 06 D6 21 2A C8 8C 16 C0 8E Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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