4 ms·
if its just a single command, parallel[1] works great: parallel --tag 'ssh {} uptime' ::: host{1..10} 1. https://www.gnu.org/software/parallel/ https://ww
by chaosfox 10y ago
if its just a single command, parallel[1] works great:
parallel --tag 'ssh {} uptime' ::: host{1..10}
1. https://www.gnu.org/software/parallel/ https://www.gnu.org/software/parallel/
- ole_tange 10y agoIf it is more: define a function. myfunc() { echo stuff; # More stuff } export -f myfunc parallel -Shost{1..10} --tag --env myfunc --nonall myfunc