{
    "mode": "man",
    "parameter": "ttys",
    "section": "4",
    "url": "https://www.chedong.com/phpMan.php/man/ttys/4/json",
    "generated": "2026-06-10T16:13:45Z",
    "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": []
        }
    },
    "summary": "ttyS - serial terminal lines",
    "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"
        }
    ]
}