mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 10:22:08 +02:00

Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com> Co-authored-by: Seth Falco <seth@falco.fun> Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
497 B
497 B
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 alsomesg
.
- 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 "johndoe" on pseudo terminal
/dev/pts/5
:
write {{johndoe}} {{pts/5}}