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