snippetbashTip
tty — Returns terminal name. More information: <https://www.gnu.org/software/coreutils/manual/html_node/tt
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:
ttyCode Snippets
Print the file name of this terminal
ttyContext
tldr-pages: common/tty
Revisions (0)
No revisions yet.