Hoàng Minh An
New member
How do I change the username and machine name in Linux terminal?
Answer
The procedure to change the computer name on Ubuntu Linux:
Answer
The procedure to change the computer name on Ubuntu Linux:
- Type the following command to edit /etc/hostname using nano or vi text editor: sudo nano /etc/hostname. Delete the old name and setup new name.
- Next Edit the /etc/hosts file: sudo nano /etc/hosts. …
- Reboot the system to changes take effect: sudo reboot.