Page 1 of 1

[Help] Need a script to ping hostname & save "ip only" to file

Posted: Fri Nov 13, 2020 3:54 pm
by mrgoodaa
As the title says, sorry for my poor knowledge about mikrotik scripting, i need a script to ping a hostname "eg. Google.com" & save the output to a text file that contains only the ip address (just one ip), i managed to ping and print to a file but the file contains more data than what i want.
Thanks, in advance.