summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks
diff options
context:
space:
mode:
authorbnewbold <bnewbold@ziggy.(none)>2009-08-11 17:04:02 +0300
committerbnewbold <bnewbold@ziggy.(none)>2009-08-11 17:04:02 +0300
commit6a758217a5fe63e079d74e94ee5e0767cf573066 (patch)
tree372bfec04ec1a767d741d2490914fd40126aca8e /software/unix-tricks
parenta91994416f7fe01ca8a0d9f8e381d5bade34abd9 (diff)
downloadknowledge-6a758217a5fe63e079d74e94ee5e0767cf573066.tar.gz
knowledge-6a758217a5fe63e079d74e94ee5e0767cf573066.zip
more tricks and interlinks
Diffstat (limited to 'software/unix-tricks')
-rw-r--r--software/unix-tricks12
1 files changed, 12 insertions, 0 deletions
diff --git a/software/unix-tricks b/software/unix-tricks
new file mode 100644
index 0000000..17479f7
--- /dev/null
+++ b/software/unix-tricks
@@ -0,0 +1,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
+