Linux MCQ
- Linux is a popular operating system for PC users all over the world
- It is an independent portable operating system.
- 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:
- It is a multi-user operating system
- It is multitasking open wisdom
- It is a highly secure operating system
- It can be freely distributed or downloaded it
- It has a portable OS that done with the Spark Alpha processor
- Virtual memory provided a technique like a swap in and swap out.
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 has large community support.
- 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.
- It maintains the privacy of the user.
Linux MCQs
Which of the following command can force all buffers to disk?
Routing is performed by which of the following layers
RPM ________
The dialogue control and token management are responsible for?
The main Apache configuration file is?
To create a swap partition by using fdisk, which partition’s system ID type should be used?
Total primary partitions that can exist on one drive is_____________
What is the core of the Linux operating system?
What type of installations requires a special boot disk?
Where is the user password stored?
Which command is used to display the operating system name
Which command is used to print a file
OSS stands for _____________
Which of the following command is used to add a new user to the system?
Which of the following command is used to change the working directory?
Which of the following command is used to count the total number of lines, words, and characters contained in a file?
Which of the following command is used to see the services running in the NFS server?
Which of the following command is used to sort the lines of data in a file in alphabetical order?
Which of the following commands is used to display and create files?
Which of the following commands is used to display the octal value of the text?
Which of the following is used to back up over typing errors in vi?
Which of the following is used to represent the top-level directory?
Which of the following sign is used to represent the user home directory?
Which option of ls command used to view file inode number
Identify the command which is used to remove files.
By default, which port does squid listen to?
Choose the following statement is true or false: Directory is a type of file.
Choose the server which is used with the BIND package?
Choose the TCP/IP Protocol which is used for remote terminal connection service?
Choose whether the following statement is true or false: The maximum file size in Linux is 255 bytes.
FSF stands for __________
GNU stands for ___________.
Identify the command used to add printing jobs to the queue.
Identify the command which is used to create Linux File systems.
Identify the command which is used to display the unix version.
Identify the command which is used to record sessions in Linux
Identify the command which is used to remove files.
Among the following command which is used with vi editors to delete a single character?
Identify the command which is used to set terminal IO characteristics.
Identify the default file system type of Linux
Identify the hardware structure which is not supported by Red Hat?
Identify the one which is not a communication command
Identify the OS which is not based on Linux.
Identify the service which is used to translate a domain name to IP address.
Identify this script which is run for setting a global defaults for users
In which of the following directory does the configuration files are present?
LILO stands for _____________-
Linux Kernel was founded by?
NIS