28
rated 0 times
[
28]
[
0]
/ answers: 1 / hits: 67863
/ 2 Years ago, sun, march 6, 2022, 5:14:45
I would like to change my "Device name" as shown in the settings panel. How do I do this?
More From » system-info
I would like to change my "Device name" as shown in the settings panel. How do I do this?
Execute the following command using a terminal:
sudo sed -i 's/present-host-name/new-host-name/' /etc/hosts
sudo sed -i 's/present-host-name/new-host-name/' /etc/hostname
You can check your present-host-name by cat /etc/hostname
or hostname
.
Then reboot the computer, to see the changes.