From owner-freebsd-questions Thu Jul 15 9:24: 7 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cpsgroup.com (dallas-pix.bjke.com [216.207.61.67]) by hub.freebsd.org (Postfix) with ESMTP id 96C44155C0 for ; Thu, 15 Jul 1999 09:23:45 -0700 (PDT) (envelope-from corey@cpsgroup.com) Received: from cbrune.cpsgroup.com (cbrune.cpsgroup.com [144.210.12.19]) by cbrune.cpsgroup.com (8.9.3/8.9.3) with ESMTP id NAA04638 for ; Mon, 12 Jul 1999 13:39:00 -0500 (CDT) (envelope-from corey@cpsgroup.com) Date: Mon, 12 Jul 1999 13:39:00 -0500 (CDT) From: Corey Brune Reply-To: cbrune@cpsgroup.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie: The "PS1" environment variable & others. In-Reply-To: <37883A86.53F55E65@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The man page for the shell you want should provide you with some examples of $PS1. If you are using bash for your shell then PS1 will look like export $PS1="[\u@\h \W]\\$ " Corey On Sun, 11 Jul 1999, J. M. Albores wrote: > Sorry but I'm very newbie to FreeBSD and I'd like to have a more > comfortable environment. > I'd like to setup what in Linux is "$PS1", so the shell prompt may look > like: > [userID@host /actual/path ]# > for root or "$" instead of # for non-root. > How can i set up this env-var? > > And, BTW three other questions: > > 1. I see two "profile", one in "/" as dot file, and one in "/etc" (???). > Is this the rule or I did something wrong? So: where should command > aliases (not mail aliases) go? In /etc/profile or other file like > /etc/bashrc? > > 2. I have man pages, info, FAQ and handbook as "online" or "on-CD" > documentation. Is there any other info source in my CD's (trying to save > $$$ by online www browsing) and something like HOWTO's? > > 3. Are CD's #3 & #4 just source files? > > I'm using Walnut Creek FreeBSD 3.0 . > TIA. > > -- > J M Albores > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message