#!/bin/bash hostname -i | tr ' ' '\n' | head -n1 | tail -n1