Scrip to grab IP

Hi,

can anyone help me with make script for grab IP adress from ping comand ?
ex. > ping domain.com
222.111.000.333 ping …

Thanks for ideas

/Tomi

I tried this as well so I could get the IP into a variable to use to make connections, etc. . . couldn’t figure it out either.

Sam

Try

:put [:resolve http://www.domain.com]

If you want you can bond this IP with some variable.

Edgars