hostname is junk
Hi,
Been searching around why my terminal is username@ipaddress? And what could have caused this to be, as I did not. It used to be username@linux, but that was behind a router which I did not share through. Would this cause this? Anyway, tried hostname -v linux and now the konsole does not work. I mearly do not what it to state my ip. Even tried yast to set it, I put username @ box. It just set it back to username@ip. |
There are lots of terminals. They have scripts to set these things. I use GNOME and gnome-terminal -t title
is supposed to work but it gets changed. I went into the terminal menu and edited an option edit/profiles/Default/edit clicked on Title and command selected "dynamically set title" and "is not displayed" I also set my title to something very imposing. |
It used to be username@linux, just wondering if that could be again.
|
Anything goes. It is just text and its only function is to fill the space at the top of the terminal's window.
|
Here is a howto on how to set your hostname through yast: http://www.novell.com/coolsolutions/feature/16022.html
(and some stuff about the firewall) Is this what you did ? Did you get your konsole working again? |
login as root and run the command
#hostname whatever_you_like However this change will be temporary only. TO make it permanent in your ~/.profile or /etc/profile or ~/.bash_profile put the above command to make this effect evident. alternatively you may add your desired hostname in /etc/hostname (create the file if it doesn't exist) |
I think I was tired when I wrote this I think I mean domain name
|
All times are GMT -5. The time now is 06:18 AM. |