0

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.

2
  • 1
    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, 2013 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 G
    Nov 26, 2013 at 3:29

1 Answer 1

2

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, Monitor.us, CloundMonitor, etc. They'll all offer to ping your IP from dozens of IPs in various places around the world.

4
  • will take care of URL too ?>
    – Raja G
    Nov 28, 2013 at 11:28
  • It won't convert a full URL into a pingable domain name, but these will: stackoverflow.com/questions/2497215/…
    – Oli
    Nov 28, 2013 at 11:34
  • but to check file path I need complete URL path too .
    – Raja G
    Nov 28, 2013 at 11:40
  • 1
    I don't understand. You can't ping a URL/document... It's just a network test.
    – Oli
    Nov 28, 2013 at 11:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .