Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

change hostname ubuntu 20.04

#Change hostname
sudo hostnamectl set-hostname newHostName 
#Edit the /etc/hosts file, and replace existing hostname with a new hostname.
sudo nano /etc/hosts
#Reboot the system to changes take effect
sudo reboot
Comment

PREVIOUS NEXT
Code Example
Shell :: bash silence output 
Shell :: git remove all tags from remote 
Shell :: how to read temperature in linux 
Shell :: flutter download all dependencies 
Shell :: make: g++: Command not found 
Shell :: powershell open chrome url in incognito 
Shell :: git add filename too long 
Shell :: kill gazebo 
Shell :: vim remove whitespace from end of line 
Shell :: arch linux emoji not showing 
Shell :: CAPACITOR_ANDROID_STUDIO_PATH 
Shell :: show port list in centos 
Shell :: uninstall qgis ubuntu 20.04 
Shell :: hello world bash 
Shell :: reset branch on local git 
Shell :: install laravel ui in laravel 8 
Shell :: how to install redis on manjaro 
Shell :: install lightshot on ubuntu 
Shell :: install mailspring ubuntu 
Shell :: crlf to lf in all files in vs code 
Shell :: ubuntu no bluetooth found 
Shell :: how to edit bash profile 
Shell :: There are no commands defined in the "ide-helper" 
Shell :: open firewall port ubuntu 16.04 
Shell :: delete conda from machine 
Shell :: git clone --recurse-submodules 
Shell :: zsh suggestion from history 
Shell :: sha256 windows 10 
Shell :: git clone file name too long 
Shell :: unable to install deno in ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =