>_ linuxcommand.dev
Startseite HOSTNAME
System

HOSTNAME

Hostname of the current system.

Syntax
$echo $HOSTNAME
Examples
Examples
$echo $HOSTNAME
Examples
$hostname
Typical use cases
Identify current machine in scripts.
Note Used in prompts, logs, and network identity.
Export