How to check if Ubuntu has booted in UEFI or BIOS?
[ -d /sys/firmware/efi ] && echo "Installed in UEFI mode" || echo "Installed in Legacy BIOS mode"
Related
- How to Auto Start Applications in Ubuntu
- How to Enable SSH on Ubuntu
- VNC Access to Raspberry Pi from Ubuntu
- Make Ubuntu Trust You CA Certificate Authority
- ~/.ssh/config Essentials