summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks
blob: 8cc8ebeed4548e966313fee5f18126945790c084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
=====================================
UNIX Tricks
=====================================
**See also `freebsd </k/software/freebsd-tricks>`_ and 
`debian </k/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