summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks
blob: 17479f782877775906e4d715f91f45e5437eb12c (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