$HOSTTYPE  –  Type of the current host

$HOSTNAME contains the machine type of the current host.

Examples

Print the host type of the current host
1
echo $HOSTTYPE
Output:
1
x86_64
BashSupport Pro is a Bash IDE with support for $HOSTTYPEtry it now!
© 2020–2024 Joachim Ansorg
Imprint
Privacy Policy
Legal