Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 225 Bytes

bash-rerun-command.md

File metadata and controls

8 lines (6 loc) · 225 Bytes

DNS lookup

for i in $(seq 1 1000); do dig URL | grep "Query time: [0-9][0-9]\+"; done;

Curl

for i in $(seq 1 100); do { time curl 'URL' -H 'HEADER: REDACTED' -s; } |& grep -oe "[0-9]\+[0-9].[0-9]\+ total"; done;