summaryrefslogtreecommitdiffstats
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
parenta91994416f7fe01ca8a0d9f8e381d5bade34abd9 (diff)
downloadknowledge-6a758217a5fe63e079d74e94ee5e0767cf573066.tar.gz
knowledge-6a758217a5fe63e079d74e94ee5e0767cf573066.zip
more tricks and interlinks
-rw-r--r--software/debian5
-rw-r--r--software/freebsd-tricks3
-rw-r--r--software/unix-tricks12
3 files changed, 20 insertions, 0 deletions
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 </k/software/freebsd-tricks>`__ and
+`unix </k/software/unix-tricks>`__ 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 </k/software/unix-tricks>`__ and
+`debian </k/software/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 </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
+