tty

Returns terminal name.

Install

All systems
curl cmd.cat/tty.sh
Debian Debian
apt-get install coreutils
Ubuntu
apt-get install coreutils
Alpine
apk add coreutils
Arch Arch Linux
pacman -S coreutils
image/svg+xml Kali Linux
apt-get install coreutils
CentOS
yum install coreutils
Fedora
dnf install coreutils
OS X
brew install coreutils
Raspbian
apt-get install coreutils
Docker
docker run cmd.cat/tty tty powered by Commando

Returns terminal name.

  • Print the file name of this terminal:
    tty

© tl;dr; authors and contributors