$HOSTTYPE
–
Type of the current host
$HOSTNAME
contains the machine type of the current host.
Links
Examples
- Print the host type of the current host
- Output:
1
echo $HOSTTYPE
1
x86_64
BashSupport Pro is a Bash IDE with support for $HOSTTYPE – try it now!