uname -a

Show kernel version, architecture, and OS details

uname -a prints kernel name, hostname, kernel release, version, hardware, and OS. The kernel version tells you if security patches are current. Architecture matters when installing binaries.

Example

$ uname -a
Linux prod-api-01 5.15.0-89-generic #99-Ubuntu SMP x86_64 GNU/Linux
Tip: Type it yourself in the terminal below - reading is not the same as doing.