From 6a758217a5fe63e079d74e94ee5e0767cf573066 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Tue, 11 Aug 2009 17:04:02 +0300 Subject: more tricks and interlinks --- software/unix-tricks | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 software/unix-tricks (limited to 'software/unix-tricks') 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 `__ and +`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 + -- cgit v1.2.3