Re: setting prompt in bash

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
From: <ddunfee@xxxxxxxxxxxx>
To: <blinux-list@xxxxxxxxxx>
Sent: Thursday, April 03, 2003 11:08 AM
Subject: setting prompt in bash


>
> Could someone please provide an example of the command to set the prompt
in
> a bash shell?  Also, does it go into sh_profile or bash_profile or some
> other file?

A sample command to do this would be:

export PS1='\u@\h:\w \$'

You could put that in a file named .profile or .bashrc.  I usually set it in
.bashrc.

Cheers




_______________________________________________

Blinux-list@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]