3 lines
199 B
Plaintext
3 lines
199 B
Plaintext
ifconfig | lines -s | each { |row| (find "tun") } | each { |row| (find "prefixlen") }
|
|
| split column --collapse-empty --regex "[% ]" "interface" "mac" "dev" "pl"
|
|
| select "dev" "mac" |