Results 1 to 4 of 4
When I was setting up SuSE 10.1 I left the default: linux-laug
now when I open Konsel it displays as such
user@ linux-laug :~>
how would I go about changing ...
- 11-17-2006 #1
change prompt
When I was setting up SuSE 10.1 I left the default: linux-laug
now when I open Konsel it displays as such
user@linux-laug:~>
how would I go about changing the linux-laug?
- 11-17-2006 #2
You need to change the host name, I think there's a setting in YaST that may help.
At least on Gentoo the file to edit is /etc/conf.d/hostname but it may be /etc/rc.conf in SuSE.Put your hand in an oven for a minute and it will be like an hour, sit beside a beautiful woman for an hour and it will be like a minute, that is relativity. --Albert Einstein
Linux User #425940
Don't PM me with questions, instead post in the forums
- 11-17-2006 #3
I used konsole and typed in hostname new-hostname and that seem to do the trick until I rebooted my system.
- 11-17-2006 #4Linux User
- Join Date
- Aug 2005
- Posts
- 408
You can also change the prompt by declaring the bash prompt variable $PS1.
So, for instance, if you type in
PS1="HEY LOOK AT ME \w\d $ "
Then, your bash prompt will be the totally obnoxious:
If you wanted that totally obnoxious prompt to be permanent, you can add it to .bashrc.Code:HEY LOOK AT ME (Current working directory)(date) $
http://tldp.org/HOWTO/Bash-Prompt-HO...sequences.html


Reply With Quote