.dotfiles/botfiles/.scripts/get-local-wificard-ip.sh

2 lines
78 B
Bash
Raw Permalink Normal View History

ip a show wlp8s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'