grub2-script-check (1) Linux Manual Page
grub-script-check — Check GRUB configuration file for syntax errors. Synopsisgrub-script-check [-v | –verbose] PATH Descriptiongrub-script-check verifies that a specified GRUB configuration file does not contain syntax errors. Options–verbose Print verbose output. PATH Path of the file to use as input. See Alsoinfo grub
