summaryrefslogtreecommitdiffhomepage
path: root/bash.html.markdown
diff options
context:
space:
mode:
authorLevi Bostian <levi.bostian@gmail.com>2015-05-11 21:20:02 -0500
committerLevi Bostian <levi.bostian@gmail.com>2015-05-11 21:20:02 -0500
commite4c261567533921f35ce4e65ebfe6621a128992b (patch)
tree529b16aededa8c8732c124b6682d4d37b379839f /bash.html.markdown
parent1ee46a75de12977083125f539aa12c46f297ac90 (diff)
Fix issue with referring to "output.txt" but examples use "output.out"
Fixes https://github.com/adambard/learnxinyminutes-docs/issues/1095
Diffstat (limited to 'bash.html.markdown')
-rw-r--r--bash.html.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/bash.html.markdown b/bash.html.markdown
index 937d2c96..ee783c14 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -144,7 +144,7 @@ python hello.py > /dev/null 2>&1
# if you want to append instead, use ">>":
python hello.py >> "output.out" 2>> "error.err"
-# Overwrite output.txt, append to error.err, and count lines:
+# Overwrite output.out, append to error.err, and count lines:
info bash 'Basic Shell Features' 'Redirections' > output.out 2>> error.err
wc -l output.out error.err
@@ -152,7 +152,7 @@ wc -l output.out error.err
# see: man fd
echo <(echo "#helloworld")
-# Overwrite output.txt with "#helloworld":
+# Overwrite output.out with "#helloworld":
cat > output.out <(echo "#helloworld")
echo "#helloworld" > output.out
echo "#helloworld" | cat > output.out