vars 86 Bytes Edit 1 2 3 4 #! /bin/bash ip=$(ip -f inet a show eth0|grep -oP "(?<=inet ).+(?=\/)") dj_port=2012