ping output to text file linux