{
    "content": [
        {
            "type": "text",
            "text": "# FGCONSOLE(1) (man)\n\n**Summary:** fgconsole - print the number of the active VT.\n\n**Synopsis:** fgconsole [ -h --help | -V --version | -n --next-available ]\n\n## See Also\n\n- chvt(1)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (15 lines)\n- **NOTES** (2 lines)\n- **SEE ALSO** (6 lines)\n\n## Full Content\n\n### NAME\n\nfgconsole - print the number of the active VT.\n\n### SYNOPSIS\n\nfgconsole [ -h --help | -V --version | -n --next-available ]\n\n### DESCRIPTION\n\nIf the active Virtual Terminal is /dev/ttyN, then prints N on standard output.\n\nIf the console is a serial console, then \"serial\" is printed instead.\n\n-h --help\nPrints short usage message and exits.\n\n-V --version\nPrints version number and exits.\n\n--next-available\nWill  show the next unallocated virtual terminal. Normally 6 virtual terminals are al‐\nlocated, with number 7 used for X; this will return \"8\" in this case.\n\n### NOTES\n\nUnder devfs, the consoles are in /dev/vc/N.  devfsd may maintain symlinks for compatibility.\n\n### SEE ALSO\n\nchvt(1).\n\n\n\n\nkbd                                       14 Feburary 2002                              FGCONSOLE(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "FGCONSOLE",
        "section": "1",
        "mode": "man",
        "summary": "fgconsole - print the number of the active VT.",
        "synopsis": "fgconsole [ -h --help | -V --version | -n --next-available ]",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "chvt",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/chvt/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 15,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}