Files
oldlinux-files/Minix/2.0.0/wwwman/man1/tty.1.html
2024-02-19 00:21:39 -05:00

74 lines
818 B
HTML

<HTML>
<HEAD>
<TITLE>tty(1)</TITLE>
</HEAD>
<BODY>
<H1>tty(1)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
tty - print the device name of this tty
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>tty</STRONG> [<STRONG>-s</STRONG>]
</PRE>
<H2>OPTIONS</H2><PRE>
<STRONG>-s</STRONG> Silent mode, only the exit status is affected.
</PRE>
<H2>EXAMPLES</H2><PRE>
<STRONG>tty</STRONG> # Print the tty name
</PRE>
<H2>DESCRIPTION</H2><PRE>
Print the name of the controlling tty. If the flag <STRONG>-s</STRONG> is given, <EM>tty</EM> is
equivalent to the call <STRONG>test</STRONG> <STRONG>-t</STRONG> <STRONG>0</STRONG>.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man3/ttyname.3.html">ttyname(3)</A></STRONG>.
</PRE>
</BODY>
</HTML>