2017-10-25 15:58:18 +02:00
|
|
|
# write
|
|
|
|
|
2017-10-26 10:29:50 +02:00
|
|
|
> Write a message on the terminal of a specified logged in user (ctrl-C to stop writing messages).
|
|
|
|
> To find out all terminal_ids of all users active on the system see the 'who' command.
|
2017-10-25 15:58:18 +02:00
|
|
|
|
|
|
|
- Send a message to user {{username}} on terminal {{terminal_id}}:
|
|
|
|
|
|
|
|
`write {{username}} {{terminal_id}}`
|
|
|
|
|
2017-10-26 10:29:50 +02:00
|
|
|
- Send message to user 'testuser' on terminal /dev/tty/5:
|
2017-10-25 15:58:18 +02:00
|
|
|
|
|
|
|
`write {{testuser}} {{tty/5}}`
|
|
|
|
|
2017-10-26 10:29:50 +02:00
|
|
|
- Send message to user 'jhondoe' on pseudo terminal /dev/pts/5:
|
2017-10-25 15:58:18 +02:00
|
|
|
|
|
|
|
`write {{jhondoe}} {{pts/5}}`
|