summaryrefslogtreecommitdiffhomepage
path: root/bash.html.markdown
diff options
context:
space:
mode:
authorSamuel Marks <samuel@alphatise.com>2014-08-23 16:54:13 +1000
committerSamuel Marks <samuel@alphatise.com>2014-08-23 16:54:13 +1000
commit7bfbec395acc3ddd61b9cc1d7c4b0ee3877f250b (patch)
tree6ec5b9d626f503b3fa6e7149b6069098a6482eb3 /bash.html.markdown
parent83b63aab543c2c7ece74f514ef12b1e068f463e4 (diff)
-ne not equal
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 061d35b0..57fb5c55 100644
--- a/bash.html.markdown
+++ b/bash.html.markdown
@@ -73,9 +73,9 @@ echo Hello, $NAME!
# use 'man test' for more info about conditionals
if [ $NAME -ne $USER ]
then
- echo "Your name is your username"
-else
echo "Your name isn't your username"
+else
+ echo "Your name is your username"
fi
# There is also conditional execution