2017-10-25 16:58:18 +03:00
|
|
|
# write
|
|
|
|
|
2017-10-26 11:29:50 +03:00
|
|
|
> Write a message on the terminal of a specified logged in user (ctrl-C to stop writing messages).
|
2017-10-26 19:09:43 +03:00
|
|
|
> Use the `who` command to find out all terminal_ids of all active users active on the system.
|
2017-10-25 16:58:18 +03:00
|
|
|
|
2017-10-26 19:09:43 +03:00
|
|
|
- Send a message to a given user on a given terminal id:
|
2017-10-25 16:58:18 +03:00
|
|
|
|
|
|
|
`write {{username}} {{terminal_id}}`
|
|
|
|
|
2017-10-26 19:09:43 +03:00
|
|
|
- Send message to "testuser" on terminal "/dev/tty/5":
|
2017-10-25 16:58:18 +03:00
|
|
|
|
|
|
|
`write {{testuser}} {{tty/5}}`
|
|
|
|
|
2017-10-26 19:09:43 +03:00
|
|
|
- Send message to "jhondoe" on pseudo terminal "/dev/pts/5":
|
2017-10-25 16:58:18 +03:00
|
|
|
|
|
|
|
`write {{jhondoe}} {{pts/5}}`
|