Gammu is the name of the project as well as name of command line utility, which you can use to control your phone. It is written in C and built on top of libGammu. Gammu command line utility provides access to wide range of phone features, however support level differs from phone to phone and you might want to check Gammu Phone Database for user experiences with various phones. Generally following