Saturday, December 2, 2023
 Popular · Latest · Hot · Upcoming
rated 0 times [  6] [ 0]  / answers: 1 / hits: 1921  / 2 Years ago, sun, april 3, 2022, 3:39:22

In windows 8 I used to do in run:

ping -t

where is my DNS IP(suppose).

How to do this same thing in ubuntu?
I have already tried this in the terminal window but it shows an error:

option requires an argument t

So how to do this?

More From » windows


Only ping would do.

In Ubuntu by default ping continues to run indefinitely unless you mention a limit (by the -c option), so ping is the same as windows ping -t.

In Ubuntu the -t option of ping is to set a TTL value, as you have inserted the -t option without giving a TTL value you are getting the error saying you need to give a value to -t.

If you need to change the ICMP packet size from 64 bytes to 32 bytes:

ping -s 24

As 8 byte ICMP header is added so the total packet size would be 24+8=32 bytes.

Check man ping to get more idea.

[#19391] Sunday, April 3, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.

Total Points: 137
Total Questions: 126
Total Answers: 118

Location: Saint Pierre and Miquelon
Member since Sat, Aug 21, 2021
2 Years ago
umplegitimat questions