📄 write.1
字号:
.\" SCCSID: @(#)write.1 8.1 9/11/90.TH write 1 .SH Namewrite \- write message to another user.SH Syntax.B write\fIuser\fR [\fI\|ttyname\fR\|].SH Description.NXR "write command (general)".NXR "message" "copying to another user".NXA "write command (general)" "talk program".NXA "write command (general)" "wall command"The.PN writecommand copies lines from your terminal to that ofanother user. When first called, it sends the message.EXMessage from yoursystem!yourname yourttyname....EE.PPThe recipient of the message should write back at this point.Communication continues until an end of file isread from the terminal or an interrupt is sent.At that point.PN writewrites `EOT' on the other terminal and exits..PPIf you want to write to a user who is logged in more than once,the.I ttynameargument may be used to indicate theappropriate terminal name..PPPermission to write may be denied or granted by use of the.I mesgcommand.At the outset writing is allowed.Certain commands, in particular.PN nroffand .MS pr 1disallow messages in order to prevent messy output..PPIf the character `!' is found at the beginning of a line,.PN writecalls the shell to execute the rest of the line as a command..PPThe following protocol is suggested for using.PN write:when you first write to another user, wait for him towrite back before starting to send.Each party should end each message with a distinctivesignal. The letter `o' is the convention for `over' which indicates that the message is complete.The letters `oo' are the convention for `over and out' which is usedwhen the conversation is about to be terminated..SH Files/etc/utmp to find user.br/bin/sh to execute `!'.SH See Alsomail(1), mesg(1), who(1)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -