Red Hat Certified System Administration 8



Exercise 04 : Quizz

Question 1

Which of the following directories would typically not be mounted on its own dedicated device?

A- /etc
B- /boot
C- /home
D- /usr


A. The /etc/ directory contains configuration files that are needed while your server boots. Putting /etc on a dedicated device would make your server unbootable.

Question 2

Which command enables you to show all files in the current directory so that the newest files are listed last?

a. ls -lRt
b. ls -lrt
c. ls -alrt
d. ls -alr

C. The option -a shows hidden files, -l gives a long listing, -t sorts on modification time, which by default shows newest files first, and -r reverts the sorting so that newest files are shown last.

Question 3

Which command enables you to rename the file myfile to mynewfile?

a. mv myfile mynewfile
b. rm myfile mynewfile
c. rn myfile mynewfile
d. ren myfile mynewfile

A. The mv command enables you to move files and rename files.

Question 4




Question 5









+ Correction



Eninam BAGNABANA     |         |     bagnadavid@outlook.fr     |