Hostname command mapped context
Question
What does the hostname command do in a mapped context?
Answer
The hostname
command displays or sets the system's hostname, which identifies the device on a network. In a mapped context, it can also be used to resolve the hostname to its corresponding IP address.