Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
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 W. 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

1 Answer 1

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, Monitor.us, 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: stackoverflow.com/questions/2497215/… –  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
1  
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

 
discard

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.