From owner-freebsd-questions Fri Jan 16 23:52:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA11654 for questions-outgoing; Fri, 16 Jan 1998 23:52:49 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA11646 for ; Fri, 16 Jan 1998 23:52:31 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id SAA04427; Sat, 17 Jan 1998 18:22:22 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id SAA24801; Sat, 17 Jan 1998 18:22:21 +1030 (CST) (envelope-from grog) Message-ID: <19980117182221.37408@lemis.com> Date: Sat, 17 Jan 1998 18:22:21 +1030 From: Greg Lehey To: Frank Griffith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Prompts References: <199801151522.IAA03272@idfw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <199801151522.IAA03272@idfw.com>; from Frank Griffith on Thu, Jan 15, 1998 at 09:25:33AM -0600 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Thu, Jan 15, 1998 at 09:25:33AM -0600, Frank Griffith wrote: > I have been looking at some of the docs and several > e-mail responses. The % prompt keeps showing up. > However, in using FreeBSD as root I only see a # prompt > and when logged in as other user I see the $ prompt. > > How do I get to the % prompt? That depends on why you want it. The simple answer is: Enter $ PS1='% ' % The prompts you get come from the Bourne Shell. The % prompt is the default prompt for the C shell. Unless you have a good reason to prefer the C shell (the prompt is obviously not a good reason), stick with the Bourne shell or one of its derivatives (bash (my favourite), zsh or pdksh). If you really want csh, you can use 'chsh' to change it. Greg