HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

mmcli — Control and monitor the ModemManager. More information: <https://www.freedesktop.org/software/ModemM

Submitted by: @import:tldr-pages··
0
Viewed 0 times
themodemmanagercommandmonitorandclicontrolmmcli
linux

Problem

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

Solution

mmcli — 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}}

Code Snippets

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}}

Context

tldr-pages: linux/mmcli

Revisions (0)

No revisions yet.