QuestionQ85

VerifiedInfrastructure and Automation

Refer to the exhibit.

Question Image

What action does the shown Bash script perform?

Explanation

The script waits for a directory name as input. As long as a directory with that name exists in the current location, it changes into that directory. Once it reaches a location without a same-named directory, it creates a directory with that name.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!