How to Send & Receive SMS Messages Using Linux
Located in /usr/local/bin is a sample perl script sendsms to allow testing of SMS message sending
This script uses the perl Device::Gsm library and takes 2 command line parameters to define the target phone number and SMS message content
Here's a screen shot of it in action :
Also included are
/usr/local/bin/readmessages
This prints a list of messages received with an index number
The perl library the script is calling uses some basic AT commands to read back the messages stored on the modem, you can see the actual commands here :
/usr/local/bin/deletemessage
This deletes the supplied message index number
A useful resource on SMS messages can be found here
SMS Messages AT Command reference