Get connected Wi-Fi network signal strength with nmcli
up vote
-1
down vote
favorite
I'm able to get the signal strength of all Wi-Fi networks with the following command:
$ nmcli -t -f SIGNAL device wifi list
77
67
60
59
55
45
44
39
39
37
35
35
29
27
27
24
20
20
17
14
12
10
10
I would like to reduce this list only to the current Wi-Fi on which I'm connected. I've been through the man page but can't find the necessary flag.
One solution would be to use sed
or awk
, but I would like to avoid piping.
Should I use nmcli device wifi
instead of parsing directly for the SIGNAL column?
linux parsing networkmanager
add a comment |
up vote
-1
down vote
favorite
I'm able to get the signal strength of all Wi-Fi networks with the following command:
$ nmcli -t -f SIGNAL device wifi list
77
67
60
59
55
45
44
39
39
37
35
35
29
27
27
24
20
20
17
14
12
10
10
I would like to reduce this list only to the current Wi-Fi on which I'm connected. I've been through the man page but can't find the necessary flag.
One solution would be to use sed
or awk
, but I would like to avoid piping.
Should I use nmcli device wifi
instead of parsing directly for the SIGNAL column?
linux parsing networkmanager
1
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
1
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I'm able to get the signal strength of all Wi-Fi networks with the following command:
$ nmcli -t -f SIGNAL device wifi list
77
67
60
59
55
45
44
39
39
37
35
35
29
27
27
24
20
20
17
14
12
10
10
I would like to reduce this list only to the current Wi-Fi on which I'm connected. I've been through the man page but can't find the necessary flag.
One solution would be to use sed
or awk
, but I would like to avoid piping.
Should I use nmcli device wifi
instead of parsing directly for the SIGNAL column?
linux parsing networkmanager
I'm able to get the signal strength of all Wi-Fi networks with the following command:
$ nmcli -t -f SIGNAL device wifi list
77
67
60
59
55
45
44
39
39
37
35
35
29
27
27
24
20
20
17
14
12
10
10
I would like to reduce this list only to the current Wi-Fi on which I'm connected. I've been through the man page but can't find the necessary flag.
One solution would be to use sed
or awk
, but I would like to avoid piping.
Should I use nmcli device wifi
instead of parsing directly for the SIGNAL column?
linux parsing networkmanager
linux parsing networkmanager
edited 2 days ago
jww
52k37213479
52k37213479
asked 2 days ago
Grégoire Borel
81711331
81711331
1
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
1
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday
add a comment |
1
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
1
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday
1
1
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
1
1
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53418159%2fget-connected-wi-fi-network-signal-strength-with-nmcli%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I'm voting to close this question as off-topic because it has nothing to do with programming and belongs to unix.stackexchange.com/questions/tagged/linux or superuser.com/questions/tagged/linux#
– tink
2 days ago
1
You're absolutely right, mistake from my part.
– Grégoire Borel
yesterday