Results 1 to 3 of 3
I want to change the profile at the prompt, eg
Now when I ssh or login at console i get root@localhost,
i want to change it to root@pxe.KK.au.premiere.com
How do ...
- 03-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 9
How do you change the console prompt?
I want to change the profile at the prompt, eg
Now when I ssh or login at console i get root@localhost,
i want to change it to root@pxe.KK.au.premiere.com
How do I do this? I edited the /etc/sysconfig/network and still no change, what am I missing?
Regards
- 03-04-2009 #2Linux User
- Join Date
- Jan 2007
- Location
- cleveland
- Posts
- 452
if you are using bash, see "man bash" under "PROMPTING" around line 1947
for a complete discussion. In my .profile, PS1='\h/\u\w \033[1;45m\$\033[0m 'the sun is new every day (heraclitus)
- 03-04-2009 #3


Reply With Quote
