Summary

The Linuxunamecommand can display information about the system.

Theunamecommand can retrieve information like the system hostname, version of the kernel, and processor architecture.

What Is uname on Linux?

Terminal window showing the manual page for the Mutt email client on Linux

Theunamecommand has several options, which we will go over below.

For example, someLinux distributionsdisplay their name or code namesome will only print “Linux”.

It all depends on how developers of each distribution decide to show that information in theunameoutput.

Tux mascot jumping from Windows to Linux.

Let’s jump to the various examples of theunamecommands with different options.

It provides a thorough overview of system information.

Both these commands will give you the same result.

A Linux Terminal on Ubuntu.

Hannah Stryker / How-To Geek

you’re free to print the current kernel version using the-voption.

This option gives you specific details about the kernel version you’re using on Linux.

The output can be broken down into several components:

The-voptions give a detailed description of the installed kernel.

uname command with no options

The hostname is a computer’s unique name in a web link.

Your Linux operating system uses the hostname to communicate with other nodes on the web connection.

The Linuxhostnameandhostnamectlcommands can also give you the system data pipe hostname.

uname command with version option

It can display the processor information, machine hardware name, and hardware platform information.

Here, the x86_64 represents the machine hardware name.

It is a 64-bit architecture on x86 platforms.

uname command help

This is a common output for most Linux systems with Intel or AMD processors.

The-m,-p, and-ioptions of theunamecommand often display identical output.

They all provide information related to hardware architecture.

uname command that displays all system information

The-ooption with theunameshows the name of the operating system.

you might either useuname -ooruname -operating systemoption.

you’re free to see GNU/Linux as the output.

uname command that show kernel name

It means the operating system is a Linux variant thatuses the GNU system as its foundation.

This is the most common output for popular Linux distributions.

Using Command Options Together

it’s possible for you to also use multiple options together with theunamecommand.

uname command that shows kernel version

you’re able to create any combination of options to get the information you are looking for.

you’re able to also write the options without spaces, such asuname -rv.

This is useful if you want to know what kind of hardware and software your system is running on.

uname command that displays the kernel release number

Use theuname -snrvmocommand to get the same output as theuname -acommand return.

Know Your Linux System Information

You are not limited to theunamecommand for getting system information.

you might also use othersmultiple Linux commandsto get correct information about your Linux system.

command that displays the network node name

These Linux commands help you to manage your system more effectively.

Managing Linux system storage is important for making sure dont run short on space.

For that, you’ve got the option to use commands likedf,fdisk, ormount.

command that prints the Linux machine hardware

These commands give you the details of storage on your system.

All these commands can help you to gather specific information related to your Linux system.

command that prints the operating system name

command that prints kernel release date and version

command that displays kernel build date and version

command that displays hardware information

command that displays complete Linux system information