mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-05-05 22:38:31 +00:00
commit
c0b1d2cae0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user