Linux write command
Linux write command is used to pass messages to other users.
Access: All users.
grammar
write user [ttyname]
Parameter Description:
- user: pass the message to prepare user accounts
- ttyname: If a person has two or more tty connections, you can select the appropriate tty pass messages themselves
Examples
Pass messages to Rollaend, only one connection at this time Rollaend
write Rollaend
The next step is to play up the message, ending press ctrl + c
Pass messages to Rollaend, Rollaend connection there pts / 2, pts / 3
write Rollaend pts/2
The next step is to play up the message, ending press ctrl + c
Note: If the other party is set mesg n, and I will not be hearing at this time to pass each other.