Valid 1Z0-106 Dumps shared by ExamDiscuss.com for Helping Passing 1Z0-106 Exam! ExamDiscuss.com now offer the newest 1Z0-106 exam dumps, the ExamDiscuss.com 1Z0-106 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com 1Z0-106 dumps with Test Engine here:
Examine these commands executed by root: # mkdir -p /jail /jail/bin /jail/lib64 # cp $(which bash) /jail/bin/ # ldd $(which bash) linux-vdso.so.1 (0x00007ffd574f5000) libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fb458c2c000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fb458a28000) libc.so.6 => /lib64/libc.so.6 (0x00007fb458666000) /lib64/ld-linux-x86-64.so.2 (0x00007fb459177000) # cp /lib64/libtinfo.so.6 /jail/lib64/ # cp /lib64/libdl.so.2 /jail/lib64/ # cp /lib64/libc.so.6 /jail/lib64/ # cp /lib64/ld-linux-x86-64.so.2 /jail/lib64/ # chroot /jail What is the output from the cd, pwd, and ls commands?
Correct Answer: A
Explanation of Answer A:When thechrootcommand is executed with/jail, the environment is changed to use /jailas its new root directory. Inside this environment, only the directories and files copied into/jailare accessible. Since/jaildoes not contain a/rootdirectory, the commandcd(which defaults to changing to the user's home directory) will fail, displayingNo such file or directory. Thepwdcommand shows the root of the chroot environment (/), andlsdisplays the contents of/jail, which includesbinandlib64.