To find the version of the Linux or Unix-like kernel on your system, you can use the uname
command with the -r
option.
For example, to display the kernel version of your system, you can use the following command:
uname -r
This will display the version of the kernel running on your system, such as "5.4.0-53-generic".
You can also use the cat
command to display the contents of the /proc/version
file, which contains information about the kernel version. For example:
cat /proc/version
This will display the kernel version and other information about the kernel, such as the kernel release and the kernel architecture.
You can find more information about the uname
and cat
commands and their options in the uname
and cat
documentation or by running the uname --help
and cat --help
commands.