{
    "content": [
        {
            "type": "text",
            "text": "# ttys (man)\n\n## NAME\n\nttyS - serial terminal lines\n\n## DESCRIPTION\n\nttyS[0-3] are character devices for the serial terminal lines.\n\n## Sections\n\n- **NAME**\n- **DESCRIPTION**\n- **FILES**\n- **SEE ALSO**\n- **COLOPHON**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ttys",
        "section": "",
        "mode": "man",
        "summary": "ttyS - serial terminal lines",
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "chown",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/chown/1/json"
            },
            {
                "name": "mknod",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/mknod/1/json"
            },
            {
                "name": "tty",
                "section": "4",
                "url": "https://www.chedong.com/phpMan.php/man/tty/4/json"
            },
            {
                "name": "agetty",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/agetty/8/json"
            },
            {
                "name": "mingetty",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mingetty/8/json"
            },
            {
                "name": "setserial",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/setserial/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COLOPHON",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ttyS - serial terminal lines\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "ttyS[0-3] are character devices for the serial terminal lines.\n\nThey are typically created by:\n\nmknod -m 660 /dev/ttyS0 c 4 64 # base address 0x3f8\nmknod -m 660 /dev/ttyS1 c 4 65 # base address 0x2f8\nmknod -m 660 /dev/ttyS2 c 4 66 # base address 0x3e8\nmknod -m 660 /dev/ttyS3 c 4 67 # base address 0x2e8\nchown root:tty /dev/ttyS[0-3]\n",
                "subsections": []
            },
            "FILES": {
                "content": "/dev/ttyS[0-3]\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "chown(1), mknod(1), tty(4), agetty(8), mingetty(8), setserial(8)\n",
                "subsections": []
            },
            "COLOPHON": {
                "content": "This  page  is  part  of  release  5.10 of the Linux man-pages project.  A description of the\nproject, information about reporting bugs, and the latest version of this page, can be  found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nLinux                                        1992-12-19                                      TTYS(4)",
                "subsections": []
            }
        }
    }
}