OS=`uname` if [ "$OS" = "SunOS" ]; then IP=`who am i | cut -f 2 -d \( | cut -f 1 -d \)` elif [ "$OS" = "OSF1"]; then IP=`who -M am i | cut -f 2 -d \( | cut -f 1 -d \)` fi
In reply to Re: telnet ip address
by robobunny
in thread telnet ip address
by Jaxnoth
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |