Computer Science - Linux

Exercise :: 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

Answer: Option D

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.

13. 

How many primary partitions can exist on one drive?

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

Answer: Option B

Explanation:

No answer description available for this question. Let us discuss.

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

Answer: Option C

Explanation:

The /etc/skel directory contains files and directories that are automatically copied over to a new user's home directory when such user is created.

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

Answer: Option C

Explanation:

No answer description available for this question. Let us discuss.