SENDMSG(1)
π SENDMSG(1) π
okay bestie, gather round, because this is a page from the General Commands Manual and it's literally about yelling one single line of text at somebody's terminal from across the internet. iconic behavior. no cap.
β¨ NAME β¨
sendmsg β send a message via Internet π¦
π SYNOPSIS π
sendmsg [ -46vVfrmMl ] [ -u 'from' ] [ -s 'message' ] recipient
π DESCRIPTION π
sendmsg sends a one line text message to the terminal(s) of the recipient you specified. one line. that's the whole vibe. short and sweet, like a text message but for terminals, periodt. π
On the receiving site there has to be a SAFT-server (Simple Asynchronous File Transfer) installed, like the sendfiled, and the recipient's terminal has to be writeable. like, no write permission, no message, sorry babe. π
The recipient address can be specified as:
userβ a local user, or a sendfile alias (scroll down, we get to those), e.g.:framstaguser@hostβ a user on a remote host, e.g.:framstag@bofh.belwue.desaft://host/userβ same thing as above but in URL-syntax, e.g.:saft://bofh.belwue.de/framstagsaft://host:port/userβ also same, but with an alternate SAFT-port, e.g.:saft://bofh.belwue.de:4870/framstag
πΈ OPTIONS πΈ
-4,-6β explicitly force IPv4 or IPv6 connections. by default the program resolves the name you gave it and picks the appropriate protocol all by itself, main character energy. if resolving a host name returns both IPv4 and IPv6 addresses,sendmsgwill try the addresses in the order the resolver returned them. (yes, in that order. the resolver decides, not us.) β¨-vβ verbose mode: show SAFT protocol messages. it's giving "tell me everything". π£οΈ-Vβ show version information and exit. bye bestie π-fβ force sending of messages and ignore tty (re)settings. bold. reckless. love that for you. π₯-rβ reply to the last received message. π«Ά-mβ receive messages only on this tty. this is the default, so you're already doing it, no thoughts needed.-Mβ allow receiving messages on other ttys. living dangerously, we respect it. π-lβ allow sending of multiline messages messages. (yes, the original says "messages" twice, and honestly? relatable. that's the energy.) π-s 'message'β send directly message. skip the prompt, just go. β-u 'from'β set the sender to from instead of$LOGNAME. fake it till you make it. π-qβ quiet mode: print no transfer messages. shhh. π€«
π¦ EXAMPLES π¦
sendmsg neg@linux.rus.uni-stuttgart.de
message: how about lunch?
look at that. a whole conversation starter. slay. π
π FILES π
/etc/sendfile.denyβ users which are not allowed to receive files or messages (set byroot). the naughty list, basically. π/var/spool/sendfile/$LOGNAME/config/restrictionsβ list of addresses from where you don't want messages or files. the format is:
user@host [mfb]
where m stands for messages, f for files and b for both. wildcards * and ? are allowed. examples:
gates@microsoft.com b
*aol.com m
/var/spool/sendfile/$LOGNAME/config/aliasesβ the sendfile alias file. format:
alias address
example:
chief grmblfz@bigvax.somewhere.net
π SEE ALSO π
β AUTHOR β
Ulli Horlacher β framstag@rus.uni-stuttgart.de
π okay that's the whole page bestie, go forth and message people responsibly. remember: the SAFT-server has to exist on the other end, the terminal has to be writeable, and -m is the default so don't stress about it. mwah. π
and that's a wrap! this was the 3rd Berkeley Distribution version of SENDMSG(1), so if you ever need to cite your sources, that's the flex. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: sendfile 2.1b.20080616-10
- ubuntu jammy: sendfile 2.1b.20080616-9
- ubuntu noble: sendfile 2.1b.20080616-10build2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms