Once installed, type neofetch in the Linux command line and hit Enter. It can be installed using the following commands, depending on which distribution and package manager youâre using. Now, the Neofetch command doesnât come installed by default, so youâd need to install it first to check your version number. In addition to the artwork, it shows everything you would need to know about the distro, including the Linux kernel version, resolution, desktop environment, processor, GPU, and memory. The Linux version number is the mainline kernel. Unlike other commands that only display text, Neofetch is a fancy command that displays the ASCII art of the logo of the distro you are using. A version number is a unique set of numbers representing the specific release of an operating system. To check the gcc version, I executed the following gcc -version head -n1 cut -d' ' -f4 The output was 4.8. See what your currently running kernel release version is with: /boot/config-<. How to compare a program's version in a shell script Asked 7 years, 2 months ago Modified 2 months ago Viewed 47k times 32 Suppose I want to compare gcc version to see whether the system has the minimum version installed or not. You could also use -d, -r, and -c to find out the description, release, and codename using this command, respectively. sysctl -a grep -i lsmod grep -i modinfo .This information can be obtained through the uname command. The -a stands for âallâ in the command, meaning you are asking the âlsb_releaseâ command to list all the details about your Linux distro. There are several commands/ways to check the kernel version running on your Linux system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |