Thread
:
How to make bash prompt permanent?
View Single Post
#
2
(
permalink
)
07-19-2007, 12:46 AM
nixcraft
Never say die
User
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,061
Rep Power:
10
Add your prompt to ~/.bash_profile (/home/you/.bash_profile or /root/.bash_profile)
Code:
export PS1="my prompt"
Now after logout, it will be get activated as .bash_profile get executed every time you login back to system
__________________
Vivek
|
My personal blog
Linux Evangelist
Play hard stay cool
nixcraft
View Public Profile
Send a private message to nixcraft
Visit nixcraft's homepage!
Find all posts by nixcraft