e2140ec |
Jamozed |
2022-03-06 15:27:45 |
0
|
.TH TTY 1 2022-03-06 "OMKOV coreutils" "General Commands Manual" |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
1
|
.SH NAME |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
2
|
tty \(em return user's terminal name |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
3
|
.SH SYNOPSYS |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
4
|
\fBtty\fR |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
5
|
.SH DESCRIPTION |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
6
|
Print the name of the terminal that is connected to standard input, if standard |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
7
|
input is not a terminal, "not a tty" will be printed instead. |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
8
|
.SH EXIT STATUS |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
9
|
The following exit values will be returned: |
fc65b52 |
Jamozed |
2020-08-14 17:02:53 |
10
|
.TP "0" 8 |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
11
|
Standard input is a terminal. |
fc65b52 |
Jamozed |
2020-08-14 17:02:53 |
12
|
.TP "1" 8 |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
13
|
Standard input is not a terminal. |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
14
|
.SH COPYRIGHT |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
15
|
.nf |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
16
|
Copyright (C) 2020, Jakob Wakeling |
e2140ec |
Jamozed |
2022-03-06 15:27:45 |
17
|
MIT Licence (https://opensource.org/licenses/MIT) |
9e5b4df |
Jamozed |
2020-06-27 00:16:43 |
18
|
.fi |
|
|
|
19
|
|