nerdexam
Oracle

1Z0-876 · Question #76

Click the Exhibit button. Jane is attempting to create a directory in which to store scripts. The exhibit shows the sequence of commands used by Jane and the resulting error that has occurred. Which…

The correct answer is B. mkdir -p ./mydir/scripts E. mkdir ./mydir; mkdir ./mydir/scripts. See the full explanation below for the reasoning.

Question

Click the Exhibit button. Jane is attempting to create a directory in which to store scripts. The exhibit shows the sequence of commands used by Jane and the resulting error that has occurred. Which command or sequence of commands would have created the directory correctly? (Choose two.)

Exhibit

1Z0-876 question #76 exhibit

Options

  • Atouch mydir; mkdir scripts
  • Bmkdir -p ./mydir/scripts
  • Cmd ./mydir/scripts
  • Dmake -dir mydir/scripts
  • Emkdir ./mydir; mkdir ./mydir/scripts
  • Fmkdir mydir; mkdir scripts

How the community answered

(64 responses)
  • A
    6% (4)
  • B
    80% (51)
  • C
    11% (7)
  • D
    2% (1)
  • F
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice