mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 10:15:24 +02:00
write: add page
This commit is contained in:
parent
d4324aeb8f
commit
780ba1de50
1 changed files with 17 additions and 0 deletions
17
pages/linux/write
Normal file
17
pages/linux/write
Normal file
|
@ -0,0 +1,17 @@
|
|||
# write
|
||||
|
||||
> Write a message on the terminal of a specified logged in user. (ctrl-C to stop writing messages)
|
||||
> To find out your own terminal_id see the 'tty' command
|
||||
> To find out all terminal_ids of all users active on the system see the 'who' command
|
||||
|
||||
- Send a message to user {{username}} on terminal {{terminal_id}}:
|
||||
|
||||
`write {{username}} {{terminal_id}}`
|
||||
|
||||
- send message to user 'testuser' on terminal /dev/tty/5
|
||||
|
||||
`write {{testuser}} {{tty/5}}`
|
||||
|
||||
- send message to user 'jhondoe' on pseudo terminal /dev/pts/5
|
||||
|
||||
`write {{jhondoe}} {{pts/5}}`
|
Loading…
Add table
Reference in a new issue