4 lines
89 B
Bash
Executable File

#!/bin/sh
ip a show enp4s0 | grep -Eo '(inet)?*([0-9]*\.){3}[0-9]*' | grep -v '**\.255'