Skip to content

Commit 4066354

Browse files
committed
traceroute example
1 parent 60ce9c3 commit 4066354

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

troute.awk

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Traceroute hacking
2+
# Example: traceroute bad.horse 2>/dev/null | awk -f troute.awk
3+
4+
{
5+
total+=$(NF-1)
6+
}
7+
END{
8+
print "Total ms: "total
9+
}

0 commit comments

Comments
 (0)