You can also use the gammu tool.
sudo apt install gammu-smsd gammu
After installing and configuring it, just type the command:
sudo apt install gammu-smsd gammu
After installing and configuring it, just type the command:
Code:
gammu sendsms TEXT yourdestinationphonenumber -text "Hurry, your anchor is draggin .."