hostname <hostname>
Set or print name of current host system
Arguments
| Name | Description |
|---|---|
hostname | The hostname to use for this machine |
Options
| Name | Description |
|---|---|
-f | Include domain information in the printed name |
-s | Trim off any domain information from the printed name |
-d | Only print domain information |