Multiple choice technology operating systems

if [ -s $AXA_BA_ENVPATH/$1/* ] -s stands for

  1. None of the above

  2. Both 3 and 4

  3. checks for the existence of the directories

  4. checks for the existence of the files

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In shell scripting, -s checks if a file exists and has a size greater than zero. It tests for non-empty files. The pattern checking $AXA_BA_ENVPATH/$1/* suggests checking for files within that directory path.