Which two commands can the user scott use to create the directory hierarchy successfully?

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.)

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.)

A.
mkdir /test/test1/stored/all

B.
mkdir -p test/test1/stored/all

C.
mkdir -r test/test1/stored/all

D.
mkdirhier /test/test1/stored/all

E.
mkdir -r /tmp/test/test1/stored/all

F.
mkdirhier /tmp/test/test1/stored/all

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *