Bash Scripting - String Operations
If the variable
name is unset, what will echo ${name:-"Guest"} print?name is unset, what will echo ${name:-"Guest"} print?name is unset, so it has no value.${name:-"Guest"} returns "Guest" when name is unset.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions