How do i use the machine architecture type in bash script?
-
The machine architecture is x86_64, i386, etc. There may be a case where you need to run something for specific architecture types.
Without using linux commands to do this, Bash has a built-in variables called HOSTTYPE you can use.
$ echo $HOSTTYPE x86_64
© Lightnetics 2024