Comments on: How to Send a Message to Logged Users in Linux Terminal https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/ Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks. Thu, 13 Jul 2023 18:29:13 +0000 hourly 1 By: geoff https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/comment-page-1/#comment-1520144 Sun, 13 Jun 2021 06:59:40 +0000 https://www.tecmint.com/?p=28191#comment-1520144 Here is a single-line curl command in the Linux terminal to send SMS text messages.

curl -i --user username:password -d "number=19179362841&message=hello world!" https://textgun.io/send-sms with https://textgun.io.

]]>
By: geoff https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/comment-page-1/#comment-1493620 Thu, 20 May 2021 09:49:04 +0000 https://www.tecmint.com/?p=28191#comment-1493620 Here is a very simple onliner to send SMS text messages using curl

curl -i --user username:password -d "number=19179362841&message=hello world!" https://textgun.io/send-sms

]]>
By: Swicher https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/comment-page-1/#comment-1387937 Wed, 11 Nov 2020 02:38:43 +0000 https://www.tecmint.com/?p=28191#comment-1387937 Another way to send text to a terminal is with echo "some text" > /dev/ttyX (where X is the number of the destination terminal). It also works in virtual terminals by changing /dev/ttyX to /dev/pts/X.

To send multi-line messages you can do the following: echo -e 'some\ntext' > /dev/ttyX

]]>
By: bluffo https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/comment-page-1/#comment-1364620 Thu, 17 Sep 2020 00:06:53 +0000 https://www.tecmint.com/?p=28191#comment-1364620 is this for only some versions of Linux? not working for me.

]]>
By: LBDWBD https://www.tecmint.com/send-a-message-to-logged-users-in-linux-terminal/comment-page-1/#comment-1345233 Thu, 16 Jul 2020 13:00:08 +0000 https://www.tecmint.com/?p=28191#comment-1345233 In reply to Aaron Kili.

If you have KDE a notification will pop up with the contents of the global message, just check that you don’t have do not disturb turned on

]]>