notes/scripts/parallel/traceparallel.sh
2022-06-09 12:59:03 -07:00

8 lines
402 B
Bash
Executable file

#!/bin/bash
# Note you will need to install both parallel and traceroute to use this (doas pacman -S parallel traceroute)
{
echo foss.org.my ;
echo debian.org ;
echo freenetproject.org ;
#} | parallel traceroute
} | parallel -k traceroute # makes sure that the output of parallel is displayed in the order that the arguments passed were given (i.e. foss.org.my results are displayed first)