Bash Scripting - Conditionals
Which of the following is the correct syntax to test if variable
var is equal to string hello in bash?var is equal to string hello in bash?= is POSIX compliant for string comparison inside [ ]. Double equals == works in [[ ]] but not always in [ ].15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions