Horje
rename computer ubuntu 20.04 Code Example
rename computer 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
rename username ubuntu 20.04
usermod -l <newname> -d /home/<newname> -m <oldname>




Shell

Related
update composer ubuntu Code Example update composer ubuntu Code Example
linux how to get fqdn Code Example linux how to get fqdn Code Example
how to start psql in linux Code Example how to start psql in linux Code Example
apt-add-repository command not found Code Example apt-add-repository command not found Code Example
how to check version of linux command line Code Example how to check version of linux command line Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
15