Results 1 to 2 of 2
If I want to change the PS1 now and I want that also if I will run bash I will see the same PS1, do I need to defice the ...
- 10-02-2009 #1Just Joined!
- Join Date
- Jan 2008
- Posts
- 28
Built-In variables need to export?
If I want to change the PS1 now and I want that also if I will run bash I will see the same PS1, do I need to defice the bash with export?
for example :
#> PS1="X>"
X> bash
X> bash ????? or in order the PS1 to be X> in this point I need to export the PS1
- 10-07-2009 #2Just Joined!
- Join Date
- Mar 2009
- Posts
- 4
yah u need to export PS1
use this command
export PS1
then u will get same prompt in every shell


Reply With Quote