[CentOS] How to get UEFI setting by shell?

Gordon Messmer gordon.messmer at gmail.com
Fri Jan 22 06:13:39 UTC 2016


On 01/21/2016 09:47 PM, wk wrote:
>     How to check/get UEFI information by shell/bash terminal ?   example:if UEFI is enabled? if secure boot is enabled?

Systems that boot via UEFI will have /sys/firmware/efi.

You may have access to your secure boot setting in 
/sys/firmware/efi/efivars/, or in the output of "bootctl --path 
/boot/efi status"





More information about the CentOS mailing list