5th December 2024

Using Uname Command on Linux with Examples

We will explain the “uname” command that you can use on your Linux operating system. With this command, you can get the kernel information and processor information of the system you are using.

uname

The uname command is one of the commands you can use about your system. First, let’s view help information and see options.

uname --help
uname --help
uname –help

 

If you give the uname command without any options, the -s option is used by default.

uname -a, uname –all

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

uname -a, uname --all
uname -a, uname –all

uname -s, uname –kernel-name

Prints the kernel name in use on the screen.

uname -s, uname --kernel-name
uname -s, uname –kernel-name

uname -n, uname –nodename

It shows the hostname of your computer used in the network.

uname -n, uname --nodename
uname -n, uname –nodename

uname -r, uname –kernel-release

The Kernel that I use shows the main distribution information.

uname -r, uname --kernel-release
uname -r, uname –kernel-release

uname -v, uname –kernel-version

It shows the distribution-specific version information of the Kernel version in use, together with the date of its publication.

uname -v, uname --kernel-version
uname -v, uname –kernel-version

uname -m, uname –machine

Shows the hardware name of the computer you are using.

uname -m, uname --machine
uname -m, uname –machine

uname -p, uname –processor

Shows the architectural information of the processor used.

uname -p, uname --processor
uname -p, uname –processor

uname -i, uname –hardware-platform

Shows the hardware platform information of the computer used.

uname -i, uname --hardware-platform
uname -i, uname –hardware-platform

uname -o, uname –operation-system

Shows what the operating system is.

uname -o, uname --operation-system
uname -o, uname –operation-system

uname –version

Shows version information.

uname --version
uname –version

 

LEARN MORE  What is DLL Injection and How Does DLL Injection Work?

Leave a Reply

Your email address will not be published. Required fields are marked *