7 lines
190 B
Plaintext
7 lines
190 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
power=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f8)
|
||
|
name=$(nmcli -f IN-USE,SIGNAL,SSID device wifi | grep "*" | cut -d' ' -f14)
|
||
|
|
||
|
echo " $name $power"
|