Forrest logo
back to the mmcli tool

mmcli:tldr:8aaab

mmcli: List SMS messages available on the modem.
$ sudo mmcli --modem=${modem} --messaging-list-sms
try on your machine

The command "sudo mmcli --modem=${modem} --messaging-list-sms" is used to retrieve a list of SMS messages from a specific modem using the ModemManager command-line interface (mmcli).

Here's a breakdown of the command syntax:

  • "sudo" is a command that allows you to run other commands with administrative (root) privileges.

  • "mmcli" is the ModemManager command-line interface utility. It provides a way to control and manage modems through various commands.

  • "--modem=${modem}" specifies the modem to be used. In this case, the value of the ${modem} variable needs to be provided, indicating the specific modem to interact with. It could be something like "--modem=2" for example.

  • "--messaging-list-sms" is the command to retrieve a list of SMS messages available on the specified modem.

By running this command with the appropriate values, you can view a list of SMS messages on the chosen modem using the ModemManager CLI.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the mmcli tool