phpman > man > GRUB-SCRIPT-CHECK(1)

Markdown | JSON | MCP    

TLDR: GRUB-SCRIPT-CHECK (tldr-pages)

The program `grub-script-check` takes a GRUB script file and checks it for syntax errors.

  • Check a specific script file for syntax errors
    grub-script-check {{path/to/grub_config_file}}
  • Display each line of input after reading it
    grub-script-check {{-v|--verbose}}
  • Display help
    grub-script-check --help
  • Display version
    grub-script-check --version
GRUB-SCRIPT-CHECK(1)                        User Commands                       GRUB-SCRIPT-CHECK(1)



NAME
       grub-script-check - check grub.cfg for syntax errors

SYNOPSIS
       grub-script-check [OPTION...] [PATH]

DESCRIPTION
       Checks GRUB script configuration file for syntax errors.

       -v, --verbose
              print verbose messages.

       -?, --help
              give this help list

       --usage
              give a short usage message

       -V, --version
              print program version

REPORTING BUGS
       Report bugs to <bug-grub AT gnu.org>.

SEE ALSO
       grub-mkconfig(8)

       The  full documentation for grub-script-check is maintained as a Texinfo manual.  If the info
       and grub-script-check programs are properly installed at your site, the command

              info grub-script-check

       should give you access to the complete manual.



GRUB 2.06-2ubuntu7.2                        December 2022                       GRUB-SCRIPT-CHECK(1)

Generated by phpman v3.7.21-dirty Author: Che Dong Under GNU General Public License
2026-06-16 21:14 @2600:1f28:365:80b0:a478:544f:eafa:e16d
CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0 TransitionalValid CSS!