Getting started with conditionals

  • + 3 comments

    I Dont understand why this script does not work for "n" or "N"

    read a if ((a=="Y")) then echo "YES"

    else echo "NO"

    fi