dotfiles/dotfiles/lib/functions/list_interfaces

8 lines
129 B
Bash
Executable File

#!/usr/bin/env zsh
function list_interfaces {
ip link show | grep -vE '^ ' | get_cols -F ':' 2 | xargs -n 1
}
list_interfaces