![]() VBoxPciLinuxInit How do you check Linux kernel version and other information?Īmong the three ways discussed here, I use uname all the time. usb usb2: Manufacturer: Linux 4.4.0-97-generic xhci-hcd usb usb1: Manufacturer: Linux 4.4.0-97-generic xhci-hcd The output will have a few lines but you should be able to identify the Linux kernel version there easily. But since you are here just to check Linux kernel version, grepping on Linux should give the desired output. Since dmesg provides quite an awful lot of information, you should use a command like less to read it. It is also very useful in getting system information. Find Linux kernel version using dmesg commadĭmesg is a powerful command used to write the kernel messages. You can see the kernel version 4.4.0-97-generic here. You’ll see an output similar to what we saw with uname. Just look at the content of this file: cat /proc/version In Linux, you can also find the Linux kernel information in the file /proc/version. Find Linux kernel using /proc/version file So let’s see other commands to find Linux kernel version. ![]() GNU/Linux – Operating system (and no it won’t show the distribution name).x86_64 – Operating system architecture (You can run a 32 bit OS on a 64-bit processor).Last compilation timestamp is also there. #120-Ubuntu SMP Tue Sep 19 17:28: – This means that Ubuntu compiled 4.4.0-97-generic 120 time.4.4.0-97-generic – Kernel release (we just saw that).As per the above output, you’re running Linux kernel '4.18.0-477.13. uname (stands for UNIX name) that prints system information such as the host name, Linux kernel version and other details of the operating system on which it is running. If you run the same command on BSD or macOS, the result will be different. The uname command is a quick way to check the Linux kernel version. Let me explain the output and give it a meaning: The output of the command should like this: Linux itsfoss 4.4.0-97-generic #120-Ubuntu SMP Tue Sep 19 17:28: x86_64 x86_64 x86_64 GNU/Linux This will provide more system information if you want that. ![]() You can also use uname command with option -a. For Ubuntu server edition, it should be server. For Ubuntu, it means I am using the desktop version. generic – distribution specific string.This means that you are running Linux kernel 4.4.0-97 or in more generic terms, you are running Linux kernel version 4.4.īut what do other digits mean here? Let me explain it to you: To find out which version of Linux kernel you are running, type: uname -or In the preceding command, the option -o prints the operating system name, and -r prints the kernel release version. The output will be something similar to this: 4.4.0-97-generic Open a terminal and use the following command: uname -r You can also use it to know if you are using a 32-bit or 64-bit system. Uname is the Linux command to get system information. But these commands are generic and can be used on Fedora, Debian, CentOS, SUSE Linux or any other Linux distribution. I am using Ubuntu 16.04 while writing this article.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |