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

Posted by: Pdfprep Category: 200-901 Tags: , ,

Refer to the exhibit.

What is the action of the Bash script that is shown?
A . 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.
B . The script goes into the directory called “$ndir” and makes a new directory called “$ndir”
C . The script waits unit input is entered, then it goes into the directory entered and creates a new directory with the same name.
D . For all directories in the current folder. The script goes into directory and makes a new
directory.

Answer: A

Leave a Reply

Your email address will not be published.