mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 06:55:25 +02:00
parallel: add example (#12204)
This commit is contained in:
parent
0d2a720eed
commit
9d79aff615
1 changed files with 8 additions and 0 deletions
|
@ -26,3 +26,11 @@
|
|||
- Run on multiple machines via SSH:
|
||||
|
||||
`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…
Add table
Reference in a new issue