Sets or displays the name of the current host system.
hostname [HostName]
The hostname command sets or displays the name of the current host system.
Parameter name | Description |
---|---|
Hostname | Sets the primary name of the host. |
hostname rotterdam
hostname abc
The system displays the following error message with return code 78:
The requested operation is not allowed because partition is a member of "test_cluster" cluster.