TTY(1) | General Commands Manual | TTY(1) |
tty
— return
pathname of current terminal
tty |
tty
prints the name of the terminal used
for standard input, or if not a terminal prints "not a tty0 and exits
1.
tty
should be compliant with the IEEE Std
1003.1-2024 (“POSIX.1”) specification.
Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me>
November 6, 2024 | Linux |