Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Як визначити, чи є змінна `myvar` порожньою (не має значення) в Bash?
if [ hasvalue(myvar) ]; then
if [ notnull(myvar) ]; then
if [ -z myvar ]; then
if [ empty(myvar) ]; then
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!