TTY(1) General Commands Manual TTY(1)NAMEtty - print the device name of this ttySYNOPSIStty [-s]OPTIONS-s Silent mode, only the exit status is affected.EXAMPLEStty # Print the tty nameDESCRIPTIONPrint the name of the controlling tty. If the flag -s is given, tty is equivalent to the call test -t 0.SEE ALSOttyname(3). TTY(1)
| Related Man Pages |
|---|
| tty(4) - centos |
| tty(4) - suse |
| systemd-tty-ask-password-agent(1) - mojave |
| systemd-tty-ask-password-agent(1) - posix |
| systemd-tty-ask-password-agent(1) - php |
| Similar Topics in the Unix Linux Community |
|---|
| What is /dev/tty /dev/null and /dev/console |
| TTY Insane |
| Exits from putty instead of shell script |
| Cannot create user using SMITTY |
| Remove newlines |