mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 13:33:43 +02:00
write: add page (#1577)
This commit is contained in:
commit
9a73c2d676
1 changed files with 16 additions and 0 deletions
16
pages/linux/write.md
Normal file
16
pages/linux/write.md
Normal file
|
@ -0,0 +1,16 @@
|
|||
# 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.
|
||||
|
||||
- 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}}`
|
Loading…
Add table
Reference in a new issue