How to use sample smsApp?

I already install the smsApp sample code but don’t understand how to use it?

I have use as the web wrote but it’s error

root@swi-mdm9x28-wp:~# sms next
-sh: sms: not found

you can use cm tool to send SMS: