Linux Commands Examples

A great documentation place for Linux commands

nm-tool

utility to report NetworkManager state and devices


see also : NetworkManager - nm-applet - nm-connection-editor

Synopsis

nm-tool


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
if [ ! $(nm-tool | grep State | cut -f 2 -d ' ') == "connected" ]; then
/usr/local/bin/remove-autofs-shares
fi
;;
esac

description

The nm-tool utility provides information about NetworkManager, device, and wireless networks.


see also

NetworkManager , nm-applet , nm-connection-editor .

How can this site be more helpful to YOU ?


give  feedback