From owner-freebsd-questions Fri Sep 26 08:47:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA11612 for questions-outgoing; Fri, 26 Sep 1997 08:47:53 -0700 (PDT) Received: from zerium.newmedia.no (root@oslo-3-11.newmedia.no [194.52.244.75]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA11594 for ; Fri, 26 Sep 1997 08:47:40 -0700 (PDT) Received: from localhost (hanspbie@zerium.newmedia.no [127.0.0.1]) by zerium.idgonline.no (8.8.7/8.8.5) with SMTP id PAA02029; Fri, 26 Sep 1997 15:28:03 +0200 Date: Fri, 26 Sep 1997 15:28:03 +0200 (MET DST) From: Hans Petter Bieker X-Sender: hanspbie@zerium.newmedia.no To: Jose Monteiro cc: freebsd-questions@FreeBSD.ORG Subject: Re: Setting PS1 In-Reply-To: <342c7acd.3384017@mail.leirianet.pt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 26 Sep 1997, Jose Monteiro wrote: > jose@thor /usr/local$ cd bin > jose@thor /usr/local/bin$ In bash: [hanspbie@zerium ~]$ echo $PS1 [\u@\h \w]\$ [hanspbie@zerium ~]$ cd /usr/local [hanspbie@zerium /usr/local]$ ... does anyone know how to do this in sh (sorry, I don't have sh on this Linux box ;) )? -- Linux; 64bit, multi-platform, multi-tasking, multi-user, fast and Free. Microsoft Windows 95 - From the makers of EDLIN and FAT drive formatting! "Who needs horror movies when we have Microsoft"?