{
    "content": [
        {
            "type": "text",
            "text": "# grub-mkconfig (man)\n\n## NAME\n\ngrub-mkconfig - generate a GRUB configuration file\n\n## SYNOPSIS\n\ngrub-mkconfig [OPTION]\n\n## DESCRIPTION\n\nGenerate a grub config file\n\n## TLDR\n\n> Generate a GRUB configuration file.\n\n- Do a dry run and print the configuration to `stdout`:\n  `sudo grub-mkconfig`\n- Generate the configuration file:\n  `sudo grub-mkconfig {{-o|--output}} {{/boot/grub/grub.cfg}}`\n- Display help:\n  `grub-mkconfig {{-h|--help}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (3 subsections)\n- **REPORTING BUGS**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "grub-mkconfig",
        "section": "",
        "mode": "man",
        "summary": "grub-mkconfig - generate a GRUB configuration file",
        "synopsis": "grub-mkconfig [OPTION]",
        "tldr_summary": "Generate a GRUB configuration file.",
        "tldr_examples": [
            {
                "description": "Do a dry run and print the configuration to `stdout`",
                "command": "sudo grub-mkconfig"
            },
            {
                "description": "Generate the configuration file",
                "command": "sudo grub-mkconfig {{-o|--output}} {{/boot/grub/grub.cfg}}"
            },
            {
                "description": "Display help",
                "command": "grub-mkconfig {{-h|--help}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-o",
                "long": "--output",
                "arg": null,
                "description": "output generated config to FILE [default=stdout]"
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "print this message and exit"
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "print the version information and exit"
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "grub-install",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/grub-install/8/json"
            },
            {
                "name": "GRUB-MKCONFIG",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/GRUB-MKCONFIG/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": [
                    {
                        "name": "-o --output",
                        "lines": 2,
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 12,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "grub-mkconfig - generate a GRUB configuration file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "grub-mkconfig [OPTION]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Generate a grub config file\n",
                "subsections": [
                    {
                        "name": "-o --output",
                        "content": "output generated config to FILE [default=stdout]\n",
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-h --help",
                        "content": "print this message and exit\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "content": "print the version information and exit\n",
                        "flag": "-V",
                        "long": "--version"
                    }
                ]
            },
            "REPORTING BUGS": {
                "content": "Report bugs to <bug-grub@gnu.org>.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "grub-install(8)\n\nThe  full documentation for grub-mkconfig is maintained as a Texinfo manual.  If the info and\ngrub-mkconfig programs are properly installed at your site, the command\n\ninfo grub-mkconfig\n\nshould give you access to the complete manual.\n\n\n\nGRUB 2.06-2ubuntu7.2                        December 2022                           GRUB-MKCONFIG(8)",
                "subsections": []
            }
        }
    }
}