Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

How to change hostname

hostnamectl set-hostname "new_hostname"

hostnamectl (or hostname) to check new settings
Comment

linux change hostname

sudo nano /etc/hostname
sudo nano /etc/hosts
sudo reboot
Comment

how to change hostname in kali linux

FIRST GIVE ROOT PERMISSION
	sudo su

gedit /etc/hosts
gedit /etc/hostname 
Comment

PREVIOUS NEXT
Code Example
Shell :: Installing mongodb over ubuntu 22.04 
Shell :: snap list installed 
Shell :: install netbeans 8.2 ubuntu 20.04 
Shell :: remove unused images docker manually 
Shell :: android check if package is installed 
Shell :: git change remote branch name 
Shell :: connect to wifi linux 
Shell :: ubuntu export path 
Shell :: export commit history github 
Shell :: git checkout to previous commit 
Shell :: change user to sudo kali 
Shell :: vim frozen 
Shell :: adonis migration run 
Shell :: apt remove 
Shell :: how to rename files with mv in linux 
Shell :: update certbot domain nginx 
Shell :: foreach powershell 
Shell :: installing .deb on kali 
Shell :: clone a given branch github 
Shell :: wget as file name 
Shell :: install deb linux ubuntu uninstall 
Shell :: How to download git for linux and unix 
Shell :: increment variable bash 
Shell :: linux linebreaks script bash 
Shell :: reset last commit 
Shell :: how to download terminator in ubuntu 
Shell :: install cypress 
Shell :: how to install .bin file in linux 
Shell :: command for moving files in linux 
Shell :: downgrade cocoapods in mac m1 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =