title: What does -n in 'if [[ -n "$name" ]]' in do in Bash?
body: <p>I came across this line in one of the bash scripts. I really don't understand the meaning of -n in this if condition. Can someone explain this in detail?</p>