Back to search

hostnamectl

command network

Query and change the system hostname

Options

New hostname to set

Type of hostname to set

Output in JSON format

Generated Command

hostnamectl status

Related