/
Invoking grub-script-check
Invoking grub-script-check
The program grub-script-check
takes a GRUB script file (see Shell-like scripting) and checks it for syntax errors, similar to commands such as sh -n
. It may take a path as a non-option argument; if none is supplied, it will read from standard input.
grub-script-check /boot/grub/grub.cfg
grub-script-check
accepts the following options:
--help
Print a summary of the command-line options and exit.
--version
Print the version number of GRUB and exit.
-v--verbose
Print each line of input after reading it.
, multiple selections available,
Related content
Invoking grub-mkconfig
Invoking grub-mkconfig
More like this
Invoking grub-mkrelpath
Invoking grub-mkrelpath
More like this
Invoking grub-probe
Invoking grub-probe
More like this
Invoking grub-install
Invoking grub-install
More like this
Special environment variables
Special environment variables
More like this
Invoking grub-mkpasswd-pbkdf2
Invoking grub-mkpasswd-pbkdf2
More like this