blob: 533a17497c47ec6734b478c227a66175a878db0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
---
format: rst
toc: no
...
=====================================
UNIX Tricks
=====================================
See also `freebsd </software/freebsd-tricks>`_ and
`debian </software/debian>`_ tricks.
Fork many processes with `xargs`
-----------------------------------
To fork off 10 instances of sleep with incremented lengths, 5 at a time::
$ seq 10 20 | xargs -n 1 -P 5 sleep
|