Unix and Linux Discussions Tagged with write |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
13,029 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
15,819 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
4,269 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,372 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
7,798 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,431 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,305 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
12,878 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
3,717 |
Shell Programming and Scripting |
|
|
|
3 |
1,647 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,624 |
Shell Programming and Scripting |
|
|
|
1 |
3,058 |
Shell Programming and Scripting |
|
|
|
6 |
2,514 |
Shell Programming and Scripting |
|
|
|
2 |
3,014 |
Shell Programming and Scripting |
|
|
|
0 |
8,840 |
Homework & Coursework Questions |
|
|
|
1 |
307,708 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,065 |
Shell Programming and Scripting |
|
|
|
6 |
4,751 |
AIX |
|
|
|
1 |
13,267 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
4,643 |
AIX |
|
|
|
10 |
6,909 |
Programming |
|
|
|
1 |
4,551 |
Programming |
|
|
|
12 |
13,504 |
Shell Programming and Scripting |
|
|
|
3 |
2,454 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
22,243 |
Shell Programming and Scripting |
|
|
|
3 |
6,674 |
Shell Programming and Scripting |
|
|
|
27 |
61,949 |
Shell Programming and Scripting |
|
|
|
36 |
129,032 |
IP Networking |
|
|
|
20 |
10,462 |
Shell Programming and Scripting |
|
|
|
1 |
5,844 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
19,155 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,800 |
Shell Programming and Scripting |
|
|
|
2 |
7,435 |
Filesystems, Disks and Memory |
|
|
|
1 |
4,396 |
Shell Programming and Scripting |
|
|
|
6 |
34,115 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
6,763 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
8,629 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,853 |
Shell Programming and Scripting |
|
|
|
4 |
36,560 |
Shell Programming and Scripting |
|
|
|
2 |
2,122 |
Shell Programming and Scripting |
WRITE(1) General Commands Manual WRITE(1)
NAME
write - write to another user
SYNOPSIS
write user [ ttyname ]
DESCRIPTION
Write copies lines from your terminal to that of another user. When first called, it sends the message
Message from yourname yourttyname...
The recipient of the message should write back at this point. Communication continues until an end of file is read from the terminal or an
interrupt is sent. At that point write writes `EOT' on the other terminal and exits.
If you want to write to a user who is logged in more than once, the ttyname argument may be used to indicate the appropriate terminal name.
Permission to write may be denied or granted by use of the mesg command. At the outset writing is allowed. Certain commands, in particu-
lar nroff and pr(1) disallow messages in order to prevent messy output.
If the character `!' is found at the beginning of a line, write calls the shell to execute the rest of the line as a command.
The following protocol is suggested for using write: when you first write to another user, wait for him to write back before starting to
send. Each party should end each message with a distinctive signal--(o) for `over' is conventional--that the other may reply. (oo) for
`over and out' is suggested when conversation is about to be terminated.
FILES
/etc/utmp to find user
/bin/sh to execute `!'
SEE ALSO
mesg(1), who(1), mail(1)
WRITE(1)