ExamVeda
Login
Home
11
How can you add Amit, a new user, to your system?
Discuss
Answer & Solution
Answer: Option D
Solution:
You can add a new user named Amit to your Linux system using multiple methods.

Using useradd: This is a command-line utility for adding new users to the system. You would typically use it like this: useradd Amit. This command adds the user Amit to the system.
Using adduser: This is another command-line utility that provides a more interactive way to add users. You would typically use it like this: adduser Amit. This command guides you through the process of adding a new user.
Using linuxconf: This is a graphical configuration tool that can be used to manage various aspects of a Linux system, including user management. It provides a GUI interface for tasks like adding users. However, note that linuxconf is not as commonly used as the other methods mentioned above.
So, in summary, you can add Amit, a new user, to your Linux system using useradd, adduser, or linuxconf. Therefore, the correct answer is All of the above.
12
What file specifies the order in which to use specified name services?
Discuss
Answer & Solution
Answer: Option C
Solution:
The /etc/nsswitch.conf file specifies the order in which to use specified name services in Linux.
This file controls how the system resolves various services, such as hostnames, user names, and group names, by defining the sources to query in a specific order.
For example, it determines whether to look in files like /etc/hosts or to query DNS servers for hostname resolution.
By configuring this file, administrators can control the order in which different name resolution methods are attempted, providing flexibility and customization.
So, in summary, the file that specifies the order of name services is /etc/nsswitch.conf.
13
How many primary partitions can exist on one drive?
Discuss
Answer & Solution
Answer: Option B
Solution:
On a traditional Master Boot Record (MBR) partitioning scheme, which is commonly used for BIOS-based systems, you can have a maximum of 4 primary partitions on one drive.
These primary partitions are used to define the basic structure of the disk and can be formatted with a file system to store data.
If you need more partitions, you can create extended partitions, which are special primary partitions that can hold multiple logical partitions within them.
However, with newer GUID Partition Table (GPT) partitioning schemes used on UEFI-based systems, you can have many more partitions, theoretically up to 128 partitions per disk.
So, in summary, on a traditional MBR partitioning scheme, you can have a maximum of 4 primary partitions on one drive.
14
In which directory can you store system user default files used for creating user directories?
Discuss
Answer & Solution
Answer: Option C
Solution:
In Linux, the directory /etc/skel is used to store system user default files that are used as templates when creating new user directories.
When a new user is created, their home directory is typically populated with files and directories from /etc/skel.
These files often include configuration files, such as .bashrc or .profile, that provide default settings for the user's environment.
By placing default files in /etc/skel, administrators can ensure that new user accounts are set up with consistent configurations and environments.
So, in summary, the directory where system user default files are stored for creating user directories is /etc/skel.
15
How could you install the file ipchains-1.3.9-5.i386.rpm?
Discuss
Answer & Solution
Answer: Option C
Solution:
To install the file ipchains-1.3.9-5.i386.rpm, you would use the rpm -i command followed by the name of the RPM file.
The -i option stands for "install", and it tells the RPM package manager to install the specified package.
So, the correct command would be rpm -i ipchains-1.3.9-5.i386.rpm.
Additionally, the asterisk () after "ipchains" in the option implies wildcard matching, which can help if there are multiple versions of the package or if there are additional characters appended to the filename.
So, in summary, to install the ipchains package, you would use rpm -i ipchains .i386.rpm.
16
What does FSF stand for?
Discuss
Answer & Solution
Answer: Option D
Solution:
FSF stands for Free Software Foundation.
The Free Software Foundation (FSF) is a nonprofit organization founded by Richard Stallman in 1985.
It promotes the development and use of free (as in freedom) software and campaigns against proprietary software and software patents.
The FSF is best known for its work on the GNU Project, which aims to create a free Unix-like operating system compatible with the Unix operating system.
So, in summary, FSF stands for Free Software Foundation.
17
Which of the following is a valid format for mounting a CD-ROM drive?
Discuss
Answer & Solution
Answer: Option D
Solution:
The correct answer is Option A: mount -t iso9660 /dev/cdrom /mnt/cdrom.
This command is a valid format for mounting a CD-ROM drive in Linux.
Here's what each part of the command does:

mount: Command used to mount filesystems.
-t iso9660: Specifies the filesystem type, in this case, ISO 9660, which is the standard filesystem format for CD-ROMs.
/dev/cdrom: Specifies the device file for the CD-ROM drive.
/mnt/cdrom: Specifies the mount point, which is the directory where the CD-ROM contents will be accessible after mounting.

So, in summary, the command mount -t iso9660 /dev/cdrom /mnt/cdrom is used to mount a CD-ROM drive in Linux.
18
What command do you use to create Linux file systems?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
19
Which of the following command can you execute to count the number of lines in a file?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
20
Which of the following is not a communication command?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board