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