ExamGecko
Question list
Search
Search

Question 103 - 200-901 discussion

Report
Export

Refer to the exhibit.

What is the action of the Bash script that is shown?

A.

For all directories in the current folder, the script goes into the directory and makes a new directory.

Answers
A.

For all directories in the current folder, the script goes into the directory and makes a new directory.

B.

The script waits until input is entered. If the directory exists, the script goes into it until there is no directory with the same name, then it creates a new directory.

Answers
B.

The script waits until input is entered. If the directory exists, the script goes into it until there is no directory with the same name, then it creates a new directory.

C.

The script waits until input is entered, then it goes into the directory entered and creates a new directory with the same name.

Answers
C.

The script waits until input is entered, then it goes into the directory entered and creates a new directory with the same name.

D.

The script goes into the directory called “$ndir” and makes a new directory called “$ndir”.

Answers
D.

The script goes into the directory called “$ndir” and makes a new directory called “$ndir”.

Suggested answer: B
asked 07/10/2024
Wislon Pereira
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first