File: tty.1

package info (click to toggle)
manpages-fr 0.5-2
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 4,236 kB
  • ctags: 4
  • sloc: makefile: 55
file content (34 lines) | stat: -rw-r--r-- 975 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
.\" Traduction 09/01/1997 par Christophe Blaess (ccb@club-internet.fr)
.\"
.TH TTY 1L "9 Janvier 1997" FSF "Manuel de l'utilisateur Linux"
.SH NOM
tty \- Afficher le nom du terminal associe a l'entree standard.
.SH SYNOPSIS
.B tty
[\-s] [\-\-silent] [\-\-quiet] [\-\-help] [\-\-version]
.SH DESCRIPTION
Cette page de manuel documente la version GNU de
.BR tty .

.B tty
affiche le nom de fichier du tty associe a son entree standard. Il affiche
`not a tty' si l'entree standard n'est pas un terminal. 

Son code de
retour vaut :
.nf
0 si l'entree standard est un tty
1 si l'entree standard n'est pas un tty
2 si un argument est incorrect
3 s'il y a eu une erreur d'ecriture
.fi
.SS OPTIONS
.TP
.I "\-\-help"
Afficher un message d'aide sur la sortie standard et terminer normalement.
.TP
.I "\-s, \-\-silent, \-\-quiet"
Ne rien afficher, renvoyer simplement le code de retour.
.TP
.I "\-\-version"
Afficher un numero de version sur la sortie standard et terminer normalement.