Free 200-901 Exam Braindumps (page: 43)

Page 42 of 132

DRAG DROP (Drag and Drop is not supported)
Drag and drop the code from the bottom onto the box where the code is missing in the Bash script to complete the missing assignments.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:



Refer to the exhibit.


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

  1. For all directories in the current folder, the script goes into the directory and makes a new directory.
  2. 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.
  3. The script waits until input is entered, then it goes into the directory entered and creates a new directory with the same name.
  4. The script goes into the directory called “$ndir” and makes a new directory called “$ndir”.

Answer(s): B



When using the Bash shell, how is the output of the devnet command saved to a file named “output.txt”?

  1. devnet > output.txt
  2. devnet | output.txt
  3. devnet < output.txt
  4. devnet & output.txt

Answer(s): A


Reference:

https://askubuntu.com/questions/420981/how-do-i-save-terminal-output-to-a-file



DRAG DROP (Drag and Drop is not supported)
Drag and drop the Bash commands from the left onto the related actions on the right.
Select and Place:

  1. See Explanation section for answer.

Answer(s): A

Explanation:






Post your Comments and Discuss Cisco® 200-901 exam with other Community members:

200-901 Discussions & Posts