Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hi I am looking for some kind of script/software that can help me to send SMS from my Ubuntu machine . A desktop client/application actually by using web services which we use to send sms like or etc.

share|improve this question
possible duplicate of Sending SMS in Ubuntu – Uri Herrera Jun 3 '12 at 5:15
You mean app to send sms via webservice like If yes mention it in the question :-) – Tachyons Jun 3 '12 at 7:54
up vote 6 down vote accepted

Here you go. Create an account at (your name sounds indian ;) ) and install php on your system.

sudo apt-get install php5-cli php5-curl curl

Paste your number and password where i've mentioned and run this script:

echo"Phone: ";$phno=trim(fgets(STDIN));
echo"Message: ";$msg=trim(fgets(STDIN));
echo"Message Length: ".strlen($msg)."\nSending...";
$yournumber=''; //your number inside the single quotes
$yourpassword='';//your password inside the single quotes

Save the script as sms.php.Then on terminal run php sms.php


share|improve this answer
Hi thanks for the answer i have tried and got an error . – Raja Jun 3 '12 at 7:57
sudo apt-get install curl php5-curl installs cURL and cURL API for PHP. That'll fix the error. – l0n3sh4rk Jun 3 '12 at 8:01
@Raja that link is not working . Well anyways dont use pastebin. see here why – Ashu Jun 3 '12 at 8:01
@l0n3_shArk Hi i have tried installing php5-curl from synaptic and your script executed successfully but i have not received any message up to now . Thanks man ,your script good idea . – Raja Jun 3 '12 at 8:07
@Ashu just now i have checked the pastebin link and its fine . but thanks for the info about that :) i am not gonna touch it again . – Raja Jun 3 '12 at 8:08

It's simple.

Just go register at CS Networks and you may send messages from terminal with the following command:

share|improve this answer
Welcome & thanks for your answer. Please note that it's asked for a desktop client/application – Mateng Nov 19 '12 at 15:27

Here is a link for downloading .deb files for both 32-bit and 64-bit versions of sendsms / gsendsms. Sendsms is open source software published under a GNU/GPL license.

It will allow you to send messages from the terminal / or simple GUI under GNOME.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.