1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

Merge pull request #731 from SamuelMarks/master

-ne not equal
This commit is contained in:
Nami-Doc
2014-08-23 13:27:03 -04:00

View File

@@ -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