![]() License GPLv3+: GNU GPL version 3 or later. ~]# uname -version uname (GNU coreutils) 8.22Ĭopyright (C) 2013 Free Software Foundation, Inc. As you can see from below output current uname version is 8.22. If you want to check uname command version then you need to use uname -version command as shown below. I will go through all the possible uses of uname command in Linux through various examples.Īlso Read: Solved: errors in crontab File, can't install - Unix & Linux(RHEL/CentOS 7/8) Example 1: How to Check uname command version You can also find the use of uname utility with the Bash Scripting where kernel version needs to be checked before running any functions. Usually this utility will be available by default with the Linux Based Systems so you don't have to install it separately. uname is an open source Linux based command line tool to check the basic information about OS, Kernel and hardware. In this tutorial, i will take you through 12 Popular Unix/Linux uname command examples and will also explain how to check kernel version using uname command. Example 12: How to Check man page of uname command.Example 11: How to Check all the Other Options of uname command.Example 10: How to Print the Kernel Name Using uname command.Example 9: How to Print the Current Processor type.Example 8: How to Print the Node Current Hostname.Example 7: How to Print the Current Hardware Machine Name.Example 6: How to Print the Current Hardware Architecture.Example 5: How to Print the Current Operating System.Example 4: How to Display all the Linux Kernel Information.Example 3: How to Check the Kernel Release using uname command in Unix/Linux.Example 2: How to Check Kernel Version Using uname command in Unix/Linux.Example 1: How to Check uname command version.In conclusion, it is simple to check the Linux kernel version using the above methods. Thus, the first line in the output shows the kernel version. Enter the following command in the terminal to check the Linux kernel version. The kernel ring buffer is a special kind of data structure that records messages related to the operations of the kernel. The dmesg command can be used to print or control kernel ring buffer. The above command output shows the kernel and GCC(GNU Compiler Collection) compiler details. Open the terminal and run the following command cat /proc/version The /proc/version file specifies the version of the Linux kernel and compiler used to compile the kernel. The grep command will filter out the version from hostnamectl command output. Firstly, open the terminal and type the following command hostnamectl To query and change the system hostname and related settings hostnamectl command is used. Find kernel version using hostnamectl command uname -rįrom the above uname output it is clear that we are running Linux version 4.19. Open the terminal and type the following command. To display system information we can use uname command. To find the kernel details we can follow the methods Current latest Linux kernel version details are available at. In the previous article, we explained methods to find the Linux version. Sometimes we may need to check Linux kernel version information.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |