WRITE.1
上传用户:jnzhq888
上传日期:2007-01-18
资源大小:51694k
文件大小:1k
- .TH WRITE 1
- .SH NAME
- write - send a message to a logged-in user
- .SH SYNOPSIS
- fBwritefR [fB-cvfR] fIuserfR [fIttyfR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-c" "Use cbreak mode"
- .FL "-v" "Verbose mode"
- .SH EXAMPLES
- .EX "write ast" "Send a message to ast"
- .EX "write ast tty00" "Send a message to ast on tty00"
- .SH DESCRIPTION
- .PP
- fIWritefR 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 fI/usr/adm/wtmpfR is searched to determine which tty to send to.
- If the user is logged onto more than one terminal, the fIttyfR argument
- selects the terminal. Type CTRL- D to terminate the command.
- Use ! as a shell escape.
- .SH "SEE ALSO"
- .BR mail (1).