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) - redhat
tty(4) - centos
tty(1) - debian
systemd-tty-ask-password-agent(1) - posix
systemd-tty-ask-password-agent(1) - ultrix
Similar Topics in the Unix Linux Community
POSIX way of getting columns in tty?
TTY Insane
Exits from putty instead of shell script
Cannot create user using SMITTY
Automating pbrun /bin/su not working, whenever manually it is working using putty