hi,
I want to execute traceroute/tracepath and capture its output..that is the easy part.
How can I watch this output and when reach some point i.e. match some string and if it shows up, kill/stop the traceroute and continue my script...
Ability to kill it if it takes too long will be good too..