re: Shellscripting: Conditional Execution VIEW POST

FULL DISCUSSION
 

Thanks for you post. It's very clear and usefully.
I think that here you have a bit error:

MY_SHELL="zsh"

if ["$MY_SHELL" = "zsh"]
    then
        echo "You are the zsh shell user!"
fi

You forget the space after an before [].

Sorry by my english.

 
code of conduct - report abuse