![]() ![]() When the hostnamectl command is used without any options whatsoever, it will print basic details related to hardware and software as given: While the hostnamectl command is primarily used to change the hostname, it can also show the kernel version. But do you know that your Ubuntu systems have more than one kernel version installed at a time?īut wait, there are other interesting ways to get the kernel version and I'm going to discuss them one by one. This way, you get to know the currently used kernel. ![]() If you're on the Ubuntu server edition, it would be server instead of generic. For Ubuntu, it means I’m using the desktop version. generic - It's a distribution-specific string.So my kernel version is 5.15.0-47-generic (in broad terms, I'm running Kernel 5.15). Where uname is a utility to print system info and when used with the -r option, it gets us the kernel version only.īut have you ever wondered what the entire string of Linux kernels indicates? Let me break it down for you. ![]() It may not seem big of a deal at first glance but the newer kernels are known to bring hardware compatibility for new hardware and improvements.Īnd using the uname command with the -r option is by far the most popular way of printing kernel version: uname -r "Linux is an Operating System" and I find myself in an unanswerable situation as Linux is the kernel, not OS itself. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |