mmcli

Control and monitor the ModemManager. More information: <https://www.freedesktop.org/software/ModemManager/man/latest/mmcli.1.html>.

Install

All systems
curl cmd.cat/mmcli.sh
Debian Debian
apt-get install ModemManager
Ubuntu
apt-get install ModemManager
Arch Arch Linux
pacman -S ModemManager
image/svg+xml Kali Linux
apt-get install ModemManager
Windows (WSL2)
sudo apt-get update sudo apt-get install ModemManager
Raspbian
apt-get install ModemManager

Control and monitor the ModemManager. More information: <https://www.freedesktop.org/software/ModemManager/man/latest/mmcli.1.html>.

  • List available modems:
    mmcli --list-modems
  • Print information about a modem:
    mmcli --modem=modem
  • Enable a modem:
    mmcli --modem=modem --enable
  • List SMS messages available on the modem:
    sudo mmcli --modem=modem --messaging-list-sms
  • Delete a message from the modem, specifying its path:
    sudo mmcli --modem=modem --messaging-delete-sms=path/to/message_file

© tl;dr; authors and contributors