mirror of https://github.com/CrimsonTome/tldr.git
parallel: add example (#12204)
parent
0d2a720eed
commit
9d79aff615
|
@ -26,3 +26,11 @@
|
||||||
- Run on multiple machines via SSH:
|
- Run on multiple machines via SSH:
|
||||||
|
|
||||||
`parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}`
|
`parallel -S {{machine1}},{{machine2}} {{command}} ::: {{arg1}} {{arg2}}`
|
||||||
|
|
||||||
|
- Download 4 files simultaneously from a text file containing links showing progress:
|
||||||
|
|
||||||
|
`parallel -j4 --bar --eta wget -q {} :::: {{path/to/links.txt}}`
|
||||||
|
|
||||||
|
- Print the jobs which `parallel` is running in `stderr`:
|
||||||
|
|
||||||
|
`parallel -t {{command}}`
|
||||||
|
|
Loading…
Reference in New Issue