Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Get OS and Architecture Information in Shell

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

CommandDescription
uname -aThe full info of the machine.
unameThe type of OS, e.g., Linux, Darwin, etc.
uname -mThe architecture of the machine, e.g., x86_64, etc.