Shell script get IP