“Renomear o computador Ubuntu 20.04” Respostas de código

Renomear o computador Ubuntu 20.04

#1- Delete the old name and setup new name
sudo hostnamectl set-hostname newHostname

#2- Edit the /etc/hosts file:
sudo nano /etc/hosts

#3- Reboot the system 
sudo reboot

#4- To check the new hostname
hostnamectl
Snippets

Renomear o nome de usuário Ubuntu 20.04

usermod -l <newname> -d /home/<newname> -m <oldname>
Snippets

Respostas semelhantes a “Renomear o computador Ubuntu 20.04”

Perguntas semelhantes a “Renomear o computador Ubuntu 20.04”

Mais respostas relacionadas para “Renomear o computador Ubuntu 20.04” em Shell/Bash

Procure respostas de código populares por idioma

Procurar outros idiomas de código