Back to search
hostnamectl
command networkQuery and change the system hostname
Options
New hostname to set
Type of hostname to set
Output in JSON format
Generated Command
hostnamectl status
Query and change the system hostname
New hostname to set
Type of hostname to set
Output in JSON format
hostnamectl status