74 lines
1.3 KiB
HTML
74 lines
1.3 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>write(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>write(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
write - send a message to a logged-in user
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>write</STRONG> [<STRONG>-cv</STRONG>] <EM>user</EM> [<EM>tty</EM>]
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-c</STRONG> Use cbreak mode
|
|
|
|
<STRONG>-v</STRONG> Verbose mode
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>write</STRONG> <STRONG>ast</STRONG> # Send a message to ast
|
|
|
|
<STRONG>write</STRONG> <STRONG>ast</STRONG> <STRONG>tty00</STRONG> # Send a message to ast on tty00
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Write</EM> lets a user send messages to another logged-in user. Lines typed by
|
|
the user appear on the other user's screen a line at a time (a character
|
|
at a time in the case of cbreak mode). The file /<EM>usr</EM>/<EM>adm</EM>/<EM>wtmp</EM> is searched
|
|
to determine which tty to send to. If the user is logged onto more than
|
|
one terminal, the <EM>tty</EM> argument selects the terminal. Type CTRL- D to
|
|
terminate the command. Use ! as a shell escape.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/mail.1.html">mail(1)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|