nerdexam
Oracle

1Z0-409 · Question #203

The user scott tries to create a directory hierarchy and encounters the following error: [scott@server1 tmp]$ mkdir test/test1/stored/all mkdir: cannot create directory test/test1/stored/all: No…

The correct answer is B. mkdir -p test/test1/stored/all F. mkdirhier /tmp/test/test1/stored/all. See the full explanation below for the reasoning.

Question

The user scott tries to create a directory hierarchy and encounters the following error:

[scott@server1 tmp]$ mkdir test/test1/stored/all mkdir: cannot create directory test/test1/stored/all: No such file or directory [scott@server1 tmp]$pwd /tmp Which two commands can the user scott use to create the directory hierarchy successfully? (Choose two.)

Options

  • Amkdir /test/test1/stored/all
  • Bmkdir -p test/test1/stored/all
  • Cmkdir -r test/test1/stored/all
  • Dmkdirhier /test/test1/stored/all
  • Emkdir -r /tmp/test/test1/stored/all
  • Fmkdirhier /tmp/test/test1/stored/all

How the community answered

(32 responses)
  • A
    19% (6)
  • B
    69% (22)
  • C
    3% (1)
  • D
    6% (2)
  • E
    3% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice