Date: Mon, 12 Jul 1999 13:39:00 -0500 (CDT) From: Corey Brune <corey@cpsgroup.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie: The "PS1" environment variable & others. Message-ID: <Pine.BSF.4.10.9907121332290.1078-100000@cbrune.cpsgroup.com> In-Reply-To: <37883A86.53F55E65@bigfoot.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9907121332290.1078-100000>