ping numip > un file

poi leggi il file che hai creato