summaryrefslogtreecommitdiffstats
path: root/software/unix-tricks.page
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-10-21 10:44:16 -0400
committerbnewbold <bnewbold@robocracy.org>2012-10-21 10:44:16 -0400
commitf1ceb9fecf0638994f4128f499207899b81549e1 (patch)
tree50df046f7dbb9dd1d6ab501a4d742bf8274e946f /software/unix-tricks.page
parentb42252d7a443154003099080ecd2fba670d89dc7 (diff)
downloadknowledge-f1ceb9fecf0638994f4128f499207899b81549e1.tar.gz
knowledge-f1ceb9fecf0638994f4128f499207899b81549e1.zip
misc software stuff
Diffstat (limited to 'software/unix-tricks.page')
-rw-r--r--software/unix-tricks.page9
1 files changed, 8 insertions, 1 deletions
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index 62c9ebf..8749d16 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -62,4 +62,11 @@ See if a number is prime with ``openssl prime 2011``.
SSH Tunnel
------------
-Try [autossh](http://www.harding.motd.ca/autossh/) to keep tunnels open.
+Try `autossh <http://www.harding.motd.ca/autossh/>`_ to keep tunnels open.
+
+stderr in Red
+---------------
+
+Via `stack overflow <http://serverfault.com/questions/59262/bash-print-stderr-in-red-color/59299#59299>`_:
+
+ $ command 2> >(while read line; do echo -e "\e[01;31m$line\e[0m"; done)