How do i Print error message on this particular Ping Command?

Riyawilliams

New Member
Hai,
When the internet drops it shows "Destination Unreachable" only in the terminal(termux android) not in the text file. I want the error message also in the text file.

Regards,
Riya.
Linux developer
 
Top