Which command would you use to check the version of the kernel currently running?

Study for the LPI 101-500 Exam. Prepare with flashcards and multiple choice questions, each with hints and explanations. Get exam ready!

Multiple Choice

Which command would you use to check the version of the kernel currently running?

Explanation:
The command to check the version of the currently running kernel is 'uname -r'. This command is a part of the 'uname' utility, which is used to display system information. The '-r' option specifically requests the kernel release, providing the version number of the kernel in use. This is crucial for system administration tasks, troubleshooting, and ensuring compatibility with software or hardware. The other commands listed do not provide the kernel version. For instance, 'uname -v' displays the kernel version information but is not as commonly used to get the main kernel version. The command 'kernel -version' is not a valid command in the Linux environment, and 'version -kernel' is also not recognized. Thus, using 'uname -r' is the reliable choice for retrieving the current kernel version directly.

The command to check the version of the currently running kernel is 'uname -r'. This command is a part of the 'uname' utility, which is used to display system information. The '-r' option specifically requests the kernel release, providing the version number of the kernel in use. This is crucial for system administration tasks, troubleshooting, and ensuring compatibility with software or hardware.

The other commands listed do not provide the kernel version. For instance, 'uname -v' displays the kernel version information but is not as commonly used to get the main kernel version. The command 'kernel -version' is not a valid command in the Linux environment, and 'version -kernel' is also not recognized. Thus, using 'uname -r' is the reliable choice for retrieving the current kernel version directly.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy