The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM
Home Forums Register Rules & FAQ Members List Arcade Search Today's Posts Mark Forums Read


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!


Other UNIX.COM Threads You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
What hostname is a client using? mugambo UNIX for Advanced & Expert Users 1 10-10-2007 07:13 AM
Solaris - unknown hostname - how can I change hostname? XNOR UNIX for Dummies Questions & Answers 1 03-29-2007 07:52 PM
looking up hostname dangral IP Networking 2 10-28-2003 12:56 PM
change hostname fishman2001 UNIX for Dummies Questions & Answers 9 10-21-2002 06:07 AM
Hostname bache_gowda UNIX for Dummies Questions & Answers 1 09-22-2001 01:25 PM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-03-2002
Registered User
 

Join Date: Jun 2002
Posts: 19
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
hostname in linux

Hi i am using the Kde graphic interface, and what to know how you set the hostname in linux, what do i click?

Ok thanx
Forum Sponsor
  #2 (permalink)  
Old 07-03-2002
Registered User
 

Join Date: Jun 2002
Location: PA
Posts: 17
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Not sure what version you are using but an alternative would be and typing it from the prompt:

linuxconf
  #3 (permalink)  
Old 07-04-2002
Registered User
 

Join Date: Feb 2002
Posts: 29
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Hi Matt,

Just like in webhostingtalk people said. read.
  #4 (permalink)  
Old 07-04-2002
killerserv's Avatar
Unix Predator
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
Edit the /etc/sysconfig/network file
By editting this file you can change the HOSTNAME field to the new hostname. Simply use vi to edit the file. These changes will only take effect upon the computer reboot.
Note: On the older versions of Linux, you can change the hostname by editting the /etc/HOSTNAME file.

Another way you can do by Set the hostname using the hostname command Execute the hostname command with the new hostname as the first parameter. For example:

[root@hostname root]# hostname newhostname

This will then change the hostname immediately. However, it will not remeber the changes upon a reboot. Also, it will not change the command prompt to refresh the new hostname. To refresh the prompt, simply logout of the current session and log back in.
  #5 (permalink)  
Old 07-05-2002
Registered User
 

Join Date: Jul 2002
Posts: 4
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiReddit! Stumble this Post!Spurl this Post!
What's the difference between a HOSTNAME and HOSTID?

Hi All,

I am curious. What is the difference between the Hostname and Hostid?

What are the general ways of getting the hostid of a machine?
Are there ready commands?

What is the different usage of these 2?

Thanks,
noknok
Google UNIX.COM
Closed Thread



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 08:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger

Search Engine Optimization by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102