summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
Diffstat (limited to 'software/unix-tricks.page')
-rw-r--r--software/unix-tricks.page13
1 files changed, 13 insertions, 0 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
new file mode 100644
index 0000000..265609f
--- /dev/null
+++ b/software/unix-tricks.page
@@ -0,0 +1,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
+