LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2006, 03:15 AM   #1
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Rep: Reputation: 30
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.
 
Old 03-26-2006, 10:06 PM   #2
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
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.
 
Old 03-26-2006, 11:59 PM   #3
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
It used to be username@linux, just wondering if that could be again.
 
Old 03-27-2006, 12:15 AM   #4
RobertP
Member
 
Registered: Jan 2004
Location: Manitoba, Canada
Distribution: Debian
Posts: 454

Rep: Reputation: 32
Anything goes. It is just text and its only function is to fill the space at the top of the terminal's window.
 
Old 03-27-2006, 05:19 AM   #5
muha
Member
 
Registered: Nov 2005
Distribution: xubuntu, grml
Posts: 451

Rep: Reputation: 37
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?
 
Old 03-27-2006, 06:07 AM   #6
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
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)
 
Old 03-28-2006, 12:39 AM   #7
cjae
Member
 
Registered: Mar 2004
Distribution: bouncing
Posts: 277

Original Poster
Rep: Reputation: 30
I think I was tired when I wrote this I think I mean domain name
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why all this visual junk? lectraplayer Linux - Hardware 2 07-16-2005 10:14 PM
junk mails snoply Linux - Distributions 2 05-09-2005 04:47 PM
cdrecord junk; /proc junk lackluster Linux - Software 5 08-06-2003 11:37 PM
Deleting junk lectraplayer Linux - Newbie 2 06-24-2003 09:49 PM
hostname command vs. $HOSTNAME env. variable Silly22 Linux - Networking 2 03-29-2002 06:01 PM


All times are GMT -5. The time now is 04:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration