$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 是一个 支持 $HOSTTYPE 的 Bash 集成开发工具 – 马上试用!