dotfiles/.config/Scripts/showip

4 lines
82 B
Bash
Executable File

#!/usr/bin/env bash
ip addr show dev wlp2s0 | grep "inet[^6]" | awk '{print $2}'