summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2017-09-28 22:55:42 -0700
committerbnewbold <bnewbold@robocracy.org>2017-09-28 22:55:42 -0700
commit982251c9604e65115d72d9a8c03589a62e4c683b (patch)
tree349b2db0e5bcf2504011d35db2c2ea6e08d1f9b3
parente76e874c2e0d5f2c1ad64513c0c7df219cb3edb1 (diff)
downloadknowledge-982251c9604e65115d72d9a8c03589a62e4c683b.tar.gz
knowledge-982251c9604e65115d72d9a8c03589a62e4c683b.zip
re-title bash page; move printf command
-rw-r--r--software/bash.page12
-rw-r--r--software/unix-tricks.page5
2 files changed, 6 insertions, 11 deletions
diff --git a/software/bash.page b/software/bash.page
index cea3f79..435176d 100644
--- a/software/bash.page
+++ b/software/bash.page
@@ -1,14 +1,9 @@
---
format: markdown
toc: no
+title: Bash Shell
...
-BASH
-==================
-
-
-# Tricks and Specifics
-
## Job Control
The syntax for "job number" or "JOBSPEC" (when using `kill` or similar) is
@@ -30,11 +25,6 @@ You can pipe both `stdout` and `stderr` together either to a file or two another
grep --asdf |& less
-## printf
-
-The `printf` command is much more powerful than `echo`.
-
-
## Prelude
I frequently add a one-line version of the following to shell scripts:
diff --git a/software/unix-tricks.page b/software/unix-tricks.page
index d6c363e..af7a1ef 100644
--- a/software/unix-tricks.page
+++ b/software/unix-tricks.page
@@ -64,6 +64,11 @@ SSH Tunnel
------------
Try `autossh <http://www.harding.motd.ca/autossh/>`_ to keep tunnels open.
+printf
+------
+
+The `printf` command is much more powerful than `echo`.
+
stderr in Red
---------------