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/debian | 5 +++++ software/freebsd-tricks | 3 +++ software/unix-tricks | 12 ++++++++++++ 3 files changed, 20 insertions(+) create mode 100644 software/unix-tricks diff --git a/software/debian b/software/debian index c21890b..88806df 100644 --- a/software/debian +++ b/software/debian @@ -2,8 +2,13 @@ Debian Linux =========================== +**See also `freebsd `__ and +`unix `__ tricks.** + Some gotchas from installing debian a few times: + * To enable sshd in ubuntu install ``openssh-server`` + * Massive ``ssh`` headache issues from around 2007-2008; make sure to check on these. diff --git a/software/freebsd-tricks b/software/freebsd-tricks index 0c92e90..cce7086 100644 --- a/software/freebsd-tricks +++ b/software/freebsd-tricks @@ -2,6 +2,9 @@ FreeBSD Tricks ===================================== +**See also `unix `__ and +`debian `__ tricks.** + Set User Shell ----------------------- ``bash`` isn't always installed, so the default user shell is ``sh``; after 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