Lab: Conditional Logic Issues

Hello @KodeKloud

I want to report a possible issue with this lab, please check:

Hi @andrescaroc,

Check the answer at /tmp/assets/check_dir.sh.

checked,
But consider the following:

The instruction states "Create a shell script in the home directory ..." so I can use both:

  1. relative path if [ -d caleston] or
  2. absolute path if [ -d "/home/bob/caleston" ]

to check "...if the directory /home/bob/caleston exists"

The screenshot validate my solution.

Hi @andrescaroc,

you’re right the two solutions are correct but in the test, we check only one answer using the absolute path and you have to use It to pass the task.