Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the js_composer domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/holhol2/public_html/wp-includes/functions.php on line 6121

Linux uname Command tutorial

By holhol24 | March 24, 2021
D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage7 final.png

Uname is a short form of Unix name. This is a very useful command in Linux, which provides hardware and software information in the current running system.

This short manual will show you how to get all system information through the Uname command.

Syntax:

Options:

There are several ways to filter out the details you want.

1. -a option:

Use -a option with uname command to display all possible information about your current running system.

2. -s option:

We can use the –s option to display currently using kernel name and information.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage9 final.png

3. –v option:

The–v option prints the Kernel version on the command line:

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage8 final.png

4. –r option:

Use –r option to display the kernel release details.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage11 final.png

5. –m option:

Use –m option to see the currently running machine hardware name.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage10 final.png

If the output value is x86 64, it means that you are using the 64-bit operating system. Moreover, the i686 value refers to the 32-bit operating system.

6. –n option:

The –n parameter with the uname command is used to display the network node hostname.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage2 final.png

7. -p option:

Use –p parameter with uname; it will give current processor information.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage1 final.png

8. –i option:

The –i option gets the current hardware system information and prints it on the command-line:

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage4 final.png

9. –o option:

The –o option with the uname command is used to print the operating system name.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage3 final.png

10. –version option:

Use –version parameter with uname to get uname version details as follows:

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage6 final.png

11. Help option:

The –help shows us all possible commands and their usage.

D:Aqsa12 marchLinux uname Command tutorialLinux uname Command tutorialimagesimage5 final.png

Conclusion:

The uname command is a very efficient command through which we can get all possible information about the operating system, hardware, kernel, and processor information. To figure out why a piece of software is not performing as expected, you’ll need to know the kernel version, operating system, and basic hardware details.

holhol24

I am a Linux server pro admin and enthusiast, an upcoming web developer, junior php developer. I am currently a content creator for Holhol24, I love to play with Linux and all other distributions of it. I loves working with computers and strongly believes in sharing knowledge. Follow me For more insight into what is happening in Tech.

Advertisement Share: Facebook Twitter WhatsApp

Deprecated: File Theme without comments.php is deprecated since version 3.0.0 with no alternative available. Please include a comments.php template in your theme. in /home/holhol2/public_html/wp-includes/functions.php on line 6121

Leave a Reply

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