Unix and Linux Discussions Tagged with write |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
11,662 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
15,111 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,821 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
4,806 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
7,248 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
5,896 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
2,941 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
12,123 |
UNIX for Beginners Questions & Answers |
|
|
|
12 |
3,644 |
Shell Programming and Scripting |
|
|
|
3 |
1,392 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
1,588 |
Shell Programming and Scripting |
|
|
|
1 |
3,025 |
Shell Programming and Scripting |
|
|
|
6 |
2,460 |
Shell Programming and Scripting |
|
|
|
2 |
2,995 |
Shell Programming and Scripting |
|
|
|
0 |
7,936 |
Homework & Coursework Questions |
|
|
|
1 |
292,982 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
6,006 |
Shell Programming and Scripting |
|
|
|
6 |
4,673 |
AIX |
|
|
|
1 |
13,117 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
4,561 |
AIX |
|
|
|
10 |
6,727 |
Programming |
|
|
|
1 |
4,408 |
Programming |
|
|
|
12 |
13,430 |
Shell Programming and Scripting |
|
|
|
3 |
2,436 |
UNIX for Dummies Questions & Answers |
|
|
|
12 |
22,126 |
Shell Programming and Scripting |
|
|
|
3 |
6,608 |
Shell Programming and Scripting |
|
|
|
27 |
61,747 |
Shell Programming and Scripting |
|
|
|
36 |
124,936 |
IP Networking |
|
|
|
20 |
10,406 |
Shell Programming and Scripting |
|
|
|
1 |
5,819 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
19,047 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,772 |
Shell Programming and Scripting |
|
|
|
2 |
6,571 |
Filesystems, Disks and Memory |
|
|
|
1 |
4,371 |
Shell Programming and Scripting |
|
|
|
6 |
33,890 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
6,556 |
UNIX for Advanced & Expert Users |
|
|
|
8 |
8,568 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
5,805 |
Shell Programming and Scripting |
|
|
|
4 |
36,291 |
Shell Programming and Scripting |
|
|
|
2 |
2,105 |
Shell Programming and Scripting |
write(1) General Commands Manual write(1)
Name
write - write message to another user
Syntax
write user [ttyname]
Description
The command copies lines from your terminal to that of another user. When first called, it sends the message
Message from yoursystem!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 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 and disallow messages in order to prevent messy output.
If the character `!' is found at the beginning of a line, calls the shell to execute the rest of the line as a command.
The following protocol is suggested for using 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. 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 used when the conversation is about to be terminated.
Files
/etc/utmp to find user
/bin/sh to execute `!'
See Also
mail(1), mesg(1), who(1)
write(1)