Examining uname

Posted by Lukas Hajdu on Sun, Feb 2, 2020

uname is a Unix program to print some of the basics about the kernel and system. The most common option to run the program is -a which prints all available information.

This is an example output with a short description:

/proc directory

ParameterOptionDescription
Kernel name-sDisplays kernel name, which is Linux on a Linux system
Node name-nNetwork hostname
Kernel release-rThe actual kernel version number
Kernel version-vKernel build date and time (not an actual version)
Machine hardware name-mMost often a CPU code (i686, x86_64, …)
Processor type-pInformation about the CPU; returns unknown in many systems
Hardware platform-iHardware platform information; usually returns unknown
Operating system-oOS name; GNU/Linux for a Linux system


comments powered by Disqus