Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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
Comment

PREVIOUS NEXT
Code Example
Shell :: zsh: command not found: jq 
Shell :: linux check cronjob log 
Shell :: install putty on ubuntu 
Shell :: remove git repository windows 
Shell :: obs uninstall ubuntu 
Shell :: remove xampp from ubuntu 
Shell :: laravel 8 install composer 
Shell :: shutdown pc in 10 minutes 
Shell :: install tmux ubuntu 
Shell :: how to run requirements.txt in python 
Shell :: git delete all tags local and remote 
Shell :: conda update existing environment from yml 
Shell :: install docker nvidia 2 
Shell :: npm install redux and react-redux 
Shell :: Xcode is not installed or not configured properly. Download, install, set it up and run this script again 
Shell :: linux set python 3 as default 
Shell :: linux get port usage 
Shell :: check octet permission ubuntu 
Shell :: how to remove samba ubuntu 
Shell :: magento 2 check version command line 
Shell :: skript execute console command 
Shell :: instalar tcpdump ubuntu 
Shell :: update submodule github 
Shell :: install qwebengineview pyqt5 
Shell :: kill port 3000 
Shell :: list all ssh connections ubuntu 
Shell :: find start up folder 
Shell :: github desktop for ubuntu 
Shell :: how to unzip in gitbash 
Shell :: start emulator from command line 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =