Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to change hostname

hostnamectl set-hostname "new_hostname"

hostnamectl (or hostname) to check new settings
 
PREVIOUS NEXT
Tagged: #How #change #hostname
ADD COMMENT
Topic
Name
9+6 =