Skip to content

Commit 328e093

Browse files
committed
Add tty docs
1 parent d84982d commit 328e093

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/tty.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Usage: tty [OPTION]...
2+
Print the file name of the terminal connected to standard input.
3+
4+
-s, --silent, --quiet print nothing, only return an exit status
5+
--help display this help and exit
6+
--version output version information and exit
7+
8+
Exit status:
9+
0 if the standard input is a terminal
10+
1 if the standard input is not a terminal

0 commit comments

Comments
 (0)