Skip to content

Instantly share code, notes, and snippets.

@fuji246
Created March 19, 2020 00:50
Show Gist options
  • Save fuji246/a75706149638b19a86a8eb42690938e5 to your computer and use it in GitHub Desktop.
Save fuji246/a75706149638b19a86a8eb42690938e5 to your computer and use it in GitHub Desktop.
dump mtr result to log file
#!/bin/bash
> mtr.log
for (( ; ; ))
do
mtr $1 -u -r >> mtr.log
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment