Bash Scripting - String Operations
If
var="Hello", what will echo ${#var} output?var="Hello", what will echo ${#var} output?var contains the string "Hello" which has 5 characters.${#var} returns the number of characters, which is 5.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions