If this is your first visit, be sure to
check out the FAQ. You will have to register
before you can post. To start viewing messages,
select the forum that you want to visit from the selection below.
Please do not use the CODE tag when pasting content that contains formatting (colored, bold, underline, italic, etc).
The CODE tag displays all content as plain text, including the formatting tags, making it difficult to read.
If you are referring to the hostname, you can just open a console and type:
Code:
sudo hostname newname
where newname is what you want to use.
If you just type hostname it will return the current hostname of your PC.
Type manhostname for more information.
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
This would only change the name temporarily. To have the new hostname remain after the next reboot, the new name should be in the /etc/hostname file. 'hostname -F /etc/hostname' is executed as the system boots.
Originally posted by Snowhog
If you are referring to the hostname, you can just open a console and type:
Code:
sudo hostname newname
where newname is what you want to use.
If you just type hostname it will return the current hostname of your PC.
When called with one argument or with the --file option, the commands
set the host name or the NIS/YP domain name. hostname uses the
sethostname(2) function, while all of the three domainname, ypdomain‐
name and nisdomainname use setdomainname(2). Note, that this is effec‐
tive only until the next reboot. Edit /etc/hostname for permanent change.
Windows no longer obstructs my view.
Using Kubuntu Linux since March 23, 2007.
"It is a capital mistake to theorize before one has data." - Sherlock Holmes
Comment