1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 10:22:10 +02:00
tldr/pages/common/write.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

16 lines
497 B
Markdown

# write
> Write a message on the terminal of a specified logged in user (ctrl-C to stop writing messages).
> Use the `who` command to find out all terminal_ids of all active users active on the system. See also `mesg`.
- Send a message to a given user on a given terminal id:
`write {{username}} {{terminal_id}}`
- Send message to "testuser" on terminal `/dev/tty/5`:
`write {{testuser}} {{tty/5}}`
- Send message to "jhondoe" on pseudo terminal `/dev/pts/5`:
`write {{jhondoe}} {{pts/5}}`