August 1999
Intermediate to advanced
1000 pages
83h 9m
English
/usr/bin/sun /usr/bin/iAPX286 /usr/bin/i386 /usr/bin/pdp11 /usr/bin/sparc /usr/bin/u3b /usr/bin/u3b2 /usr/bin/u3b5 /usr/bin/u3b15 /usr/bin/vax /usr/bin/u370
Note
The machid family of commands is obsolete. Use uname -p and uname -m instead.
The following commands return a true value (exit code of 0) if you are using an instruction set that the command name indicates.
| sun | true if you are on a Sun system. |
| iAPX286 | true if you are on a computer using an iAPX286 processor. |
| i386 | true if you are on a computer using an iAPX386 processor. |
| pdp11 | true if you are on a PDP-11/45 or PDP-11/70. |
| sparc | true if you are on a computer using a SPARC family processor. |
| u3b | true if you are on a 3B20 computer. ... |
Read now
Unlock full access