grub2-get-kernel-settings

2.02-66.fc30.x86_64 : Support tools for GRUB.

Fedora
RUN dnf install -y grub2-tools-minimal-1
click the source code to copy install grub2-get-kernel-settings on any operating system with command-not-found.com