Linux 11
Linux 11
Answer: b
a) /etc directory
b) /lib directory
c) /root directory
d) /bin directory
Answer: a
Answer: a
4. What is /bin/sh ?
a) bourne shell
c) bash shell
Answer: b
5. The /boot directory stores the data that is used
Answer: a
a) /bin
b) /sbin
c) /etc
Answer: c
a) /lib directory
b) /root directory
c) /boot directory
Answer: a
Explanation: None.
Answer: a
10. Any file or directory present in the ______ directory may not be reserved between the invocation of
the program.
a) /var
b) /tmp
c) /etc
Answer: b
Linux is a popular operating system for PC users all over the world
It is a multitasking Operating System and it includes virtual memory shared library, memory
management, TCP/IP networking features, and also includes features of a commercial OS.
Linux distribution is an operating system that is made up of a collection of software based on the Linux
Kernel or you can say distribution contains the Linux Kernel and software supporting libraries.
Features of Linux:
Kernel:
The kernel is the core of the Linux-based operating system. It virtualizes the common hardware
resources of the computer to provide each process with its virtual resources. This makes the process the
same as if it is the sole process running on the machine. the kernel is also responsible for preventing and
mediating conflicts between different processes.
Types of kernels:
Monolithic kernel
Hybrid Karnal
Exo kernel
Microkernel
System library: It is the special types of function that are used to implement the functionality of the
operating system.
Shell: It is an interface to the kernel which hides the complexity of the kernel function from the user. it
takes commands from the user and executes the kernel functions.
Hardware Layer: This layer consists of all peripheral devices like RAM, HDD, CPU, etc.
Advantages of Linux:
The main advantage of Linux is it is an open-source operating system. This means that this source code is
easily available for everyone and you are allowed to contribute, modify and distribute the code to
anyone without any permission.
In terms of security, Linux is more secure than any other operating system.
It provides high stability. it really slows down on freezes and there is no need to reboot it after a short
time.
It is network friendly.
Linux MCQs
1. Which of the following command is used to count the total number of lines, words, and characters
contained in a file?
Answer - A) wc is used to count the total number of lines, words, and characters contained in a file.
4. Among the following command which is used with vi editors to delete a single character?
5. Choose the TCP/IP Protocol which is used for remote terminal connection service?
7. Which of the following command is used to add a new user to the system?
Hide
Wrong Answer
10.
Hide
Wrong Answer
11.
Wrong Answer
12.
Hide
Wrong Answer
13.
Wrong Answer
14.
Hide
Wrong Answer
15.
Hide
Wrong Answer
16.
Hide
Wrong Answer
17.
Which of the following commands is used to display the octal value of the text?
Hide
Wrong Answer
Hide
Wrong Answer
19.
Hide
Wrong Answer
20.
In which of the following directory does the configuration files are present?
Hide
Wrong Answer
21.
Choose whether the following statement is true or false: The maximum file size in Linux is 255 bytes.
Hide
Wrong Answer
22.
Hide
Wrong Answer
23.
Hide
Wrong Answer
24.
Hide
Wrong Answer
Hide
Wrong Answer
26.
Hide
Wrong Answer
27.
Wrong Answer
28.
Hide
Wrong Answer
29.
Wrong Answer
30.
Which of the following sign is used to represent the user home directory?
Hide
Wrong Answer
31.
Hide
Wrong Answer
Answer - B) stty is used to set terminal IO characteristics.
32.
Hide
Wrong Answer
33.
Hide
Wrong Answer
34.
Wrong Answer
35.
Hide
Wrong Answer
Answer - D) The dialogue control and token management are responsible for Network layer.
36.
Wrong Answer
37.
Which of the following command is used to see the services running in the NFS server?
Hide
Wrong Answer
38.
Which of the following command is used to sort the lines of data in a file in alphabetical order?
Hide
Wrong Answer
Answer - C) sort is used to sort the lines of data in a file in alphabetical order.
39.
Hide
Wrong Answer
40.
Hide
Wrong Answer
41.
RPM ________
Hide
Wrong Answer
42.
Identify this script which is run for setting a global defaults for users
Hide
Wrong Answer
43.
Wrong Answer
44.
Hide
Wrong Answer
45.
To create a swap partition by using fdisk, which partition’s system ID type should be used?
Hide
Wrong Answer
46.
Hide
Wrong Answer
47.
Hide
Wrong Answer
NIS
Hide
Wrong Answer
49.
Hide
Wrong Answer
50.
Wrong Answer