New backup 2026-01-03 12:30:02
This commit is contained in:
parent
2e6fcad9d6
commit
c126e70c0f
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
function ifstatus(){
|
function ifstatus(){
|
||||||
nmcli --terse -f NAME,TYPE,AUTOCONNECT,AUTOCONNECT-PRIORITY,ACTIVE,DEVICE,STATE connection show | column -t --table-columns name,type,autoconnect,priority,active,device,state -s ':' -J | jq -c '.'
|
nmcli --terse -f NAME,TYPE,AUTOCONNECT,AUTOCONNECT-PRIORITY,ACTIVE,DEVICE,STATE connection show | column -t --table-columns name,type,autoconnect,priority,active,device,state -s ':' -J | jq -c '.'
|
||||||
|
# jq '.table.[] | select(.type=="vpn")'
|
||||||
}
|
}
|
||||||
|
|
||||||
ifstatus
|
ifstatus
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue