system v1.0.0

hostname

Displays the host name portion of the full computer name of the computer.

📋 Live Preview
hostname /?
hostname /?

Sandbox: execFile · Timeout: 30s

Capabilities

system.information-gathering
system.configuration
system.administration

Examples

Run hostname with default options

hostname /?

References