summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
authorUser <bnewbold@daemon.robocracy.org>2009-10-13 02:52:09 +0000
committerUser <bnewbold@daemon.robocracy.org>2009-10-13 02:52:09 +0000
commitf61026119df4700f69eb73e95620bc5928ca0fcb (patch)
treef17127cff9fec40f4207d9fa449b9692644ce6db /software/unix-tricks.page
parent9d431740a3e6a7caa09a57504856b5d1a4710a14 (diff)
downloadknowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.tar.gz
knowledge-f61026119df4700f69eb73e95620bc5928ca0fcb.zip
Grand rename for gitit transfer
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
+