And the option ‘grep’ prints lines that contain a match for a pattern. The default action is to display all messages from the kernel ring buffer. It also contains the kernel compiler’s user name (in parentheses).ĭmesg – display message or driver message – is used to examine or control the kernel ring buffer. This will show you the kernel version, as well as the date it was released and the name of the person who compiled it. Each number, separated by a dot or hyphen, is part of a code: 3 This is the main kernel version. You will see the kernel version from the command output If you want to see more information about your kernel, type uname -a and press Enter. The /proc/version file specifies the version of the Linux kernel, the version of gcc used to compile the kernel, and the time of kernel compilation. Launch a terminal window, then enter the following: uname r The system will return a numeric code, for example: 3.10.0-957.21.2. And the command “uname -v” prints the kernel version. Some operating systems (e.g., FreeBSD, HP-UX) have the same name as their underlying kernels others (e.g., GNU/Linux, Solaris) do not. The kernel name might be the same as the operating system name printed by the ‘-o’ or ‘–operating-system’ option, but it might differ. How to Check Linux Version We can log in for a remote user using the following command: ssh userserver-name Enter any one of the below commands for finding. The command “uname -s” prints the kernel name. The “uname -r” prints the kernel release. The three uname comamnds to know about Linux Kernel are “uname -r” “uname -v” and “uname -s”. KERNEL-NAME NODENAME KERNEL-RELEASE KERNEL-VERSION MACHINE PROCESSOR HARDWARE-PLATFORM OPERATING-SYSTEM
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |