What is the output from the cd, pwd, and ls commands?

Examine the commands used by root to create a chrooted environment in the /jail directory:


The user root then issues this command:
# chroot /jail
What is the output from the cd, pwd, and ls commands?
A. bash-4.1# cd bash-4.1# pwd
/root bash-4.1# ls bash: ls command not found
B. bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd
/ bash-4.1# ls bash: ls command not found
C. bash-4.1# cd bash: cd: command not found bash-4.1# pwd bash: pwd: command not found bash-4.1# ls
D. bash-4.1# cd bash: cd: /root: unable to access chrooted file or directory /root bash-4.1# pwd
/ bash-4.1# ls bin lib64
E. bash-4.1# cd bash: cd: /root: No such file or directory bash-4.1# pwd
/root bash-4.1# ls bin lib64

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.