LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

write

Send messages to logged-in users

TLDR

Send a message to a user on a specific terminal
$ write [username] [terminal_id]
copy
Send message to user on tty5
$ write [username] tty5
copy
Send message to user on pseudo terminal
$ write [username] pts/5
copy

SYNOPSIS

write user [ttyname]

DESCRIPTION

write allows you to communicate with other users by copying lines from your terminal to theirs. When you run write, the user receives a message indicating who is writing. You can then type your message, line by line, which appears on their terminal.Press Ctrl+D (EOF) or Ctrl+C to end the message session. Use the who command to find terminal IDs of logged-in users.

CAVEATS

The recipient must have their terminal writable (use mesg y). If the user is logged in on multiple terminals and ttyname is not specified, write picks the terminal with the shortest idle time. Only works for users on the same system.

SEE ALSO

mesg(1), wall(1), talk(1), who(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid