2
0
Fork 0
mirror of https://github.com/fish-shell/fish-shell synced 2025-02-01 06:43:39 +00:00
fish-shell/share/functions/__fish_print_interfaces.fish

4 lines
142 B
Fish
Raw Normal View History

function __fish_print_interfaces --description "Print a list of known network interfaces"
netstat -i -n -a | awk 'NR>2'|awk '{print $1}'
end