Linux – Section 1

11. How can you add Amit, a new user, to your system?

A. Using useradd
B. Using adduser
C. Using linuxconf
D. All of the above
E. None of the above

Correct Answer: D. All of the above

12. What file specifies the order in which to use specified name services?

A. /etc/services
B. /etc/nsorder
C. /etc/nsswitch.conf
D. /etc/hosts
E. None of the above

Correct Answer: C. /etc/nsswitch.conf

13. How many primary partitions can exist on one drive?

A. 16
B. 4
C. 2
D. 1
E. None of the above

Correct Answer: B. 4

14. In which directory can you store system user default files used for creating user directories?

A. /usr/tmp
B. /etc/default
C. /etc/skel
D. /etc/users
E. None of the above

Correct Answer: C. /etc/skel

15. How could you install the file ipchains-1.3.9-5.i386.rpm?

A. rpm -qip ipchains
B. rpm -Uvh ipchains
C. rpm -i ipchains* .i386.rpm
D. rpm -e ipchains-1.3.9-5.i386.rpm
E. None of the above

Correct Answer: C. rpm -i ipchains* .i386.rpm

Leave A Comment?

eight − three =