The uname command, abbreviated as Unix Name, gives information about your Linux system such as machine name, operating system, kernel, etc.

uname -a

All information that can be printed is printed on the screen.

Linux baransel.dev 3.10.0-1160.el7.x86_64 #1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

uname -s

It prints the kernel name in use to the screen.

Linux

uname -n

Shows the host name of your computer used in the network.

baransel.dev

uname -r

Shows the Kernel master deployment information I am using.

3.10.0-1160.el7.x86_64

uname -v

Displays the distribution-specific version information of the Kernel version in use, along with the release date.

#1 SMP Mon Oct 19 16:18:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

uname -m

Shows the hardware name of the computer you are using.

x86_64

uname -p

Displays the Architecture information of the processor used.

x86_64

uname -i

Shows the hardware platform information of the computer used.

x86_64

uname -o

It shows what the operating system is.

GNU/Linux