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