1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-24 10:15:24 +02:00

write: simplify page

- Simplify heading and made who command within backticks
- Simplified some command descriptions.
This commit is contained in:
Agniva De Sarker 2017-10-26 21:39:43 +05:30 committed by GitHub
parent c7275e5146
commit abd98777f5

View file

@ -1,16 +1,16 @@
# write
> 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.
> Use the `who` command to find out all terminal_ids of all active users active on the system.
- Send a message to user {{username}} on terminal {{terminal_id}}:
- Send a message to a given user on a given terminal id:
`write {{username}} {{terminal_id}}`
- Send message to user 'testuser' on terminal /dev/tty/5:
- Send message to "testuser" on terminal "/dev/tty/5":
`write {{testuser}} {{tty/5}}`
- Send message to user 'jhondoe' on pseudo terminal /dev/pts/5:
- Send message to "jhondoe" on pseudo terminal "/dev/pts/5":
`write {{jhondoe}} {{pts/5}}`