Linux and Unix write command
Quick links
About write
Syntax
Examples
Related commands
Linux and Unix main page
Send a message to another user.
write person [ttyname]
| person | If you wish to talk to someone on your own machine, then person is just the person's login name. If you wish to talk to a user on another host, then person is of the form 'user@host'. |
| ttyname | If you wish to talk to a user who is logged in more than once, the ttyname argument may be used to indicate the appropriate terminal name, where ttyname is of the form 'ttyXX' or 'pts/X'. |
write hope
Typing the above command would start a talking session with the user hope. If you type your name, you can echo back
