Computer Science - Linux

Exercise : Linux - Section 1
11.
How can you add Amit, a new user, to your system?
Using useradd
Using adduser
Using linuxconf
All of the above
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

12.
What file specifies the order in which to use specified name services?
/etc/services
/etc/nsorder
/etc/nsswitch.conf
/etc/hosts
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

13.
How many primary partitions can exist on one drive?
16
4
2
1
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.

14.
In which directory can you store system user default files used for creating user directories?
/usr/tmp
/etc/default
/etc/skel
/etc/users
None of the above
Answer: Option
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?
rpm -qip ipchains
rpm -Uvh ipchains
rpm -i ipchains* .i386.rpm
rpm -e ipchains-1.3.9-5.i386.rpm
None of the above
Answer: Option
Explanation:
No answer description is available. Let's discuss.