Question 1 · 300 in bank
An administrator accidentally deleted the /boot/vmlinuz file and must resolve the issue before the server is rebooted. Which of the following commands should the administrator use to identify the correct version of this file?
Show answer
Answer: A
Explanation
A. rpm -qa | grep kernel; uname -a The administrator can use the command "rpm -qa | grep kernel" to identify the installed kernel packages on the system, and "uname -a" to display information about the current running kernel. The output of these commands can be used to determine the correct version of the /boot/vmlinuz file that needs to be restored.
Source: Adapted from community discussion — linux_admin
