summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks
blob: 265609fa5fba0cf1e7f130fd03ae62ce4da5dadd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
=====================================
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