#! /bin/bash ip=$(ip -f inet a show eth0|grep -oP "(?<=inet ).+(?=\/)") dj_port=2012