Solved

Refer to the Exhibit

Question 106

Multiple Choice

Refer to the exhibit. 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. 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. D)  The script goes into the directory called  $ndir  and makes a new directory called  $ndir . 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.
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.
D) The script goes into the directory called "$ndir" and makes a new directory called "$ndir".

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents