Host name
From CSBLwiki
(Difference between revisions)
(Created page with "{{:template:mbn}} {| align=right cellpadding=25 |__TOC__ |} <div class="basic"> Change host name in ubuntu. Changing host name # /etc/hostname It's empty file. Just write hos...") |
|||
(4 intermediate revisions not shown) | |||
Line 4: | Line 4: | ||
|} | |} | ||
<div class="basic"> | <div class="basic"> | ||
- | + | Changing host name in ubuntu. <br> | |
- | Changing host name | + | *Changing host name |
- | + | $ sudo vim /etc/hostname | |
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 | ||
- | + | *Reflecting changed host name | |
$ sudo /bin/hostname -F /etc/hostname | $ sudo /bin/hostname -F /etc/hostname | ||
Done! | Done! |
Latest revision as of 08:48, 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>
Changing host name in ubuntu.
- Changing host name
$ sudo vim /etc/hostname
It's empty file. Just write host name what you want to change
- Reflecting changed host name
$ sudo /bin/hostname -F /etc/hostnameDone!