Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

how to ping a IP or URL from different location or IP with same Ubuntu PC .

I want access same IP or URL from the same Ubuntu PC but not with same system IP every time .

thank you.

share|improve this question
you mean other than ssh-ing into a VPS or remote system and triggering the ping command, or finding an online ping tool that pings from their IP and not yours? – Thomas Ward Nov 26 '13 at 2:35
ping. should be done only from my Ubuntu but everytime not with same IP and Id love if it's. from command line . – Raja Nov 26 '13 at 3:29
up vote 2 down vote accepted

If you control multiple machines (and have SSH access to them) you could use something like dsh to control them all at once, and by doing that, run something like:

dsh -M -c -a -- 'ping <<target_host>>'

Obviously that's going to require key-based access to all the hosts and you'll need to spend some time setting up dsh (here's a tutorial).

The easier solution is to use an external tool like one of the many ping services... Pingdom,, CloundMonitor, etc. They'll all offer to ping your IP from dozens of IPs in various places around the world.

share|improve this answer
will take care of URL too ?> – Raja Nov 28 '13 at 11:28
It won't convert a full URL into a pingable domain name, but these will:… – Oli Nov 28 '13 at 11:34
but to check file path I need complete URL path too . – Raja Nov 28 '13 at 11:40
I don't understand. You can't ping a URL/document... It's just a network test. – Oli Nov 28 '13 at 11:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.