Menu

#10 stop after N matches

open
nobody
None
5
2009-09-02
2009-09-02
Anonymous
No

Hi,

is there a way to have ngrep exiting after N packets that are matching the expression (and not exiting after n first packets)

I am willing to trigger some network event using ngrep, and then run some shell script so some "ngrep --stop-after-match 1 'event' && ./script"

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.