Send traceroute stderr to stdout
OpenBSD sends its first line of information into stderr
This commit is contained in:
parent
d69a015025
commit
664a424aee
|
@ -152,7 +152,7 @@ uname -a > /home/backup/uname
|
|||
## Dump network routes with mtr and traceroute (warning: could be long with aggressive firewalls)
|
||||
for addr in 8.8.8.8 www.evolix.fr travaux.evolix.net; do
|
||||
mtr -r $addr > /home/backup/mtr-${addr}
|
||||
traceroute -n $addr > /home/backup/traceroute-${addr}
|
||||
traceroute -n $addr > /home/backup/traceroute-${addr} 2>&1
|
||||
done
|
||||
|
||||
## Dump process with ps
|
||||
|
|
Loading…
Reference in a new issue