All apps/hostname

hostname

hostname

Print the name of the current host system, or set it.

Runs as hostname|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 3 options
Published once and never changed; check the digest before caching
sha256
e9f2f4cbc19aa37d4ffcdd694356a68d16711cf07757406550fd6d462b31cf21
Size
576 bytes
OptionsOn hostname itself
-f
Include domain information in the printed name
-s
Trim off any domain information from the printed name
-d
Only print domain information
ArgumentsPositional, in order
<hostname>
The hostname to use for this machine