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
. More information: https://manned.org/write.
write username terminal_id
/dev/tty/5
:write testuser tty/5
/dev/pts/5
:write johndoe pts/5