Expected output of print_directory_structure.sh

My print_directory_structure.sh fails every time I tried to complete it . can someone give me the expected output so I can debug better?

What is the error that you are getting?

return code >0! check your code

What command did you use for printing directory structure?

I used the tree command

correct, tree <path of the directory> will list the directory structure. This should work. Just read the ToDo once again and try it.

refer to this thread @darkbot

check out your cp command and no need for the last command @darkbot

To check the expected output and your script’s output, click on the assessment tab. There you can download the unitTesting.log file to compare your output and the actual output. I hope this helps! :slight_smile:

@ankushshetkar16 i opened the file and there is no expected output for print_directory_structure.sh
just a error message

@darkbot What does the error say?

@ankushshetkar16 return code>0 check your code

@darkbot Check this out