summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
blob: e1366dca8e874ac25ceb2db1d4f9c8d1d28ae609 (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