TTY(4)

NAME
tty, console — console terminal line device and controlling tty

DESCRIPTION
Console is a character device which refers to the currently displayed virtual console terminal.

It is typically created by:

    mknod -m 622 /dev/console c 4 1
    chown root.tty /dev/console

Tty is a character device which is the controlling terminal of a process.

It is typically created by:

    mknod -m 666 /dev/console c 5 0
    chown root.tty /dev/tty

Tty[1-8] are character devices for virtual console terminals.

They are typically created by:

    mknod -m 662 /dev/tty1 c 4 1
    mknod -m 662 /dev/tty2 c 4 2
    mknod -m 662 /dev/tty3 c 4 3
    ...
    mknod -m 662 /dev/tty8 c 4 8
    chown root.tty /dev/tty[1-8]

FILES
/dev/console
/dev/tty
/dev/tty[1-8]

SEE ALSO
mknod(1), chown(1), getty(1), ttys(4)