[nzlug] Variables??
Nevyn
nevynh at gmail.com
Thu Feb 1 03:35:24 NZDT 2007
Hi Guys,
I've been playing around with the possibility of running applications
off my Linux server onto a Windows machine for various reasons.
Anyway, I've got an environment variable which has the following value in it:
192.168.0.247 4242 22
I want just the ip address so I did something along the lines of:
echo $SSH_CLIENT | cut -d ' ' -f 1 -
which displays just the ip address. Now I'm trying to figure out how
to get this as an environment variable.
Thanks for the help in advance.
More information about the NZLUG
mailing list