Host name

From CSBLwiki

(Difference between revisions)
Jump to: navigation, search
Line 9: Line 9:
It's empty file. Just write host name what you want to change
It's empty file. Just write host name what you want to change
-
Reflect changed host name
+
Reflecting changed host name
  $ sudo /bin/hostname -F /etc/hostname
  $ sudo /bin/hostname -F /etc/hostname
Done!
Done!

Revision as of 08:47, 5 August 2012

<html> <style type="text/css">

.basic {

  font-family : helvetica;
  font-size : 12pt;

}

pre {

  font-size : 12pt;
  padding: 10pt;
  margin: 5pt 0;
  border: 2px solid #abcdef;
  background-color: #f9f9f9;
  font-family:sans-serif;
  line-height: 160%;

}

</style> </html>

Change host name in ubuntu.
Changing host name

# /etc/hostname  

It's empty file. Just write host name what you want to change

Reflecting changed host name

$ sudo /bin/hostname -F /etc/hostname
Done!
Personal tools
Namespaces
Variants
Actions
Site
Choi lab
Resources
Toolbox