CmdID

CmdID / Commands

hostnamectl

Get or set the hostname of the computer. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Get the hostname of the computer

hostnamectlIdentify

Set the hostname of the computer

sudo hostnamectl set-hostname "hostname"Identify

Set a pretty hostname for the computer

sudo hostnamectl set-hostname --static "hostname.example.com" && sudo hostnamectl set-hostname --pretty "hostname"Identify

Reset hostname to its default value

sudo hostnamectl set-hostname --pretty ""Identify