HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tty — Returns terminal name. More information: <https://www.gnu.org/software/coreutils/manual/html_node/tt

Submitted by: @import:tldr-pages··
0
Viewed 0 times
terminalcommandttyreturnsnamecliinformationmore

Problem

How to use the tty command: Returns terminal name. More information: <https://www.gnu.org/software/coreutils/manual/html_node/tty-invocation.html>.

Solution

tty — Returns terminal name. More information: <https://www.gnu.org/software/coreutils/manual/html_node/tty-invocation.html>.

Print the file name of this terminal:
tty

Code Snippets

Print the file name of this terminal

tty

Context

tldr-pages: common/tty

Revisions (0)

No revisions yet.