DiigIT | IT Community
No Profile Image
Welcome Guest
New User? Register | Login

How to change the hostname in Linux

By: Manoj | 06 Sep 2008 3:58 pm

 How to change the hostname in Linux

There are several ways by which we can change the hostname in linux. The process may vary based on distribution of linux.
 
To see your system current host name use,
# hostname
# cat /bin/hostname
 
On debian system you can use,
# uname -n
To see the fully qualified domain name if you have use,
#hostname –fqd

Comments

No Comments Posted for this Article.

Leave a comment

Enter the text in the image
img
Can't read?
Type the characters you see in the picture below.


Close Move