However, it has the disadvantage that it only works on distributions (i.e., versions) of Linux that use the rpm package system, such as those based on Red Hat.Ī fourth method is to look at the contents of the dmesg command, which is used to report information about the system as it boots up (i.e., starts up). This method has the advantage that it provides output information solely about the kernel. This can be easily accomplished by using the cat command (which is commonly used to read and concatenate files), i.e.,Ī third way is to use the rpm (i.e., Red Hat package manager) command with its -q (i.e., query) option and use the word kernel as an argument (i.e., input data) as follows: This method has the advantages that only a minimal amount of typing is required and that it provides just information about the kernel with no extra output to search through.Ī second way is to look at the /proc/version file. Perhaps the easiest is to use the uname command (which reports basic information about a system's hardware and software) with its -r option, that is, Moreover, each of these techniques can also be used, with slight modification, to obtain additional information about a system. Not only is it instructive in itself, but it can also be helpful in diagnosing and upgrading systems because each release of the kernel contains some differences, sometimes minor and sometimes substantial.įortunately, it is extremely easy to obtain this information, and, in fact, there is a choice of at least five ways to do it. It can be useful to know the version number of the kernel (i.e., the core of the operating system) on a particular Linux system. How to find the kernel version, by The Linux Information Project (LINFO) LINFO
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |