Hurd: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
$ vim /etc/hostname | $ vim /etc/hostname | ||
// update hosts file | |||
$ vim /etc/hosts | $ vim /etc/hosts | ||
// update hostname | |||
$ /etc/init.d/hostname.sh start | $ /etc/init.d/hostname.sh start | ||
// check hostname | |||
$ hostname | $ hostname | ||
</source> | </source> |
Revision as of 14:31, 10 August 2019
Commands related to
Tray
Changing hostname
- Last tested on 2019-08-10 (Debian GNU/Hurd 0.9)
// update hostname file
$ vim /etc/hostname
// update hosts file
$ vim /etc/hosts
// update hostname
$ /etc/init.d/hostname.sh start
// check hostname
$ hostname