No trouble calling echo, grep sed, et al.
I get errors calling:
I need to call
snap services to determine whether I need to temporarily stop modem-manager.
snap services | grep --quiet 'modem-manager\.modemmanager.*[^n]active'
Errors I’m receiving:
/snap/mysnap/x3/bash_script.sh: line 220: snap: command not found ... /snap/mysnap/x3/bash_script.sh: line 191: lsusb: command not found
I found this message:
I can see adding
lsusb as a dependency, but there’s gotta be a way to invoke `snap’ without shipping it as a dependency.