CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

CentOS,Ubuntu,Fedora,Debian,Linux,KVM,Virtualization

hostnamectl
11/08/2018 | 106
hostnamectl - Query or change system hostname
[SYNOPSIS] hostnamectl {OPTIONS} {COMMAND}
OPTIONS
--transient Only set transient hostname
--privileged Acquire privileges before execution
--host=[USER@]HOST Operate on remote host
 
COMMAND
status Show current hostname settings
set-hostname HOSTNAME Set system hostname