L
L
lovesuper2013-07-17 10:44:27
linux
lovesuper, 2013-07-17 10:44:27

How can send SMS directly from linux terminal?

There was a need to send sms directly from the command line (no matter for free or paid). Do you know any working (!) utilities or can you tell me how and what to set up for this?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
C
cjey, 2013-07-17
@cjey

I connected an old Nokia phone to the server and use the gnokii program Gnokii
echo "Hello world." | gnokii --sendsms +79260000000 -r

D
Denis Medved, 2013-07-17
@BuCeFaL

There are various services that provide a REST API for sending sms. You can write a simple script or program that will send the SMS you need using wget or curl.
If necessary, I can send an example of one such service to the LAN so as not to publish it here and not to advertise.

D
Duron700, 2013-07-17
@Duron700

http://habrahabr.ru/post/147583/
Perhaps this will come in handy.

P
Puma Thailand, 2013-07-17
@opium

I just connected email2sms to mts, it costs nothing, I just send it to email with the mail command.

U
ur3ckr, 2013-07-20
@ur3ckr

Once used smstools package and motorola v360

D
Dmitry Guketlev, 2013-07-20
@Yavanosta

sms.ru
Section "for programmers"

P
Pavel Zhovner, 2014-04-26
@zhovner

smsc.ru has excellent libraries for all languages. In addition, it is possible to create an email address, letters to which will be sent as sms to a given number. The SMS text is transmitted in the subject line of the message.

A
alex_shpak, 2014-10-07
@alex_shpak

If you have a rooted iPhone, you can install biteSMS on it and send via command line: "/Applications/biteSMS.app/biteSMS -send -carrier 1234567 'message text'" (you can get to the iPhone command line via SSH).
It is also possible through Android (root is not required) by calling intent, but I don’t know the details.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question