tty(1) minix man page | unix.com

Man Page: tty

Operating Environment: minix

Section: 1

TTY(1)							      General Commands Manual							    TTY(1)

NAME
tty - print the device name of this tty
SYNOPSIS
tty [-s]
OPTIONS
-s Silent mode, only the exit status is affected.
EXAMPLES
tty # Print the tty name
DESCRIPTION
Print the name of the controlling tty. If the flag -s is given, tty is equivalent to the call test -t 0.
SEE ALSO
ttyname(3). TTY(1)
Related Man Pages
tty(4) - linux
remote-tty(1) - debian
tty(1) - debian
systemd-tty-ask-password-agent(1) - php
tapset::tty(3stap) - centos
Similar Topics in the Unix Linux Community
Exits from putty instead of shell script
Cannot create user using SMITTY
Change putty title name
Asst: Shell Script to sed
Remove newlines