$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:
1
echo $MACHTYPE
1
x86_64-pc-linux-gnu
BashSupport Pro is a Bash IDE with support for $MACHTYPE – try it now!