$MACHTYPE
–
Description of The System Type
$MACHTYPE describes the system on which Bash is executing.
It follows the format cpu-company-system, for example x86_64-pc-linux-gnu.
Links
Examples
- Print the current system type
- Output:
1echo $MACHTYPE1x86_64-pc-linux-gnu
BashSupport Pro 是一个 支持 $MACHTYPE 的 Bash 集成开发工具 – 马上试用!