tty

v0.0.28
tty [OPTION]...

Print the file name of the terminal connected to standard input.

Options

--silent, --quiet, -s

print nothing, only return an exit status

Examples

Print the file name of this terminal:

tty

The examples are provided by the tldr-pages project under the CC BY 4.0 License.

Please note that, as uutils is a work in progress, some examples might fail.