.txt file

i have a ping script (which i cannot show u) how would i make it write the replys to a txt file ?

can you be more specific?

Cheers!
Vishnu.

Just redirect your output to a file

# ping ipaddress >> ping.txt

Regds,
Minaz

I agree with this, but youmay wish to control the number of pings sent, so you can do something like this, so that it only pings three times:

# ping -c 3 ipaddress >> ping.txt