Practice
Resources
Contests
Online IDE
New
Free Mock
Events New Scaler
Practice
Improve your coding skills with our resources
Contests
Compete in popular contests with top coders
logo
Events
Attend free live masterclass hosted by top tech professionals
New
Scaler
Explore Offerings by SCALER
/ Interview Guides / Linux MCQ

Linux MCQ

Last Updated: Jan 08, 2024
Certificate included
About the Speaker
What will you Learn?
Register Now
  1. Linux is a popular operating system for PC users all over the world
  2.  It is an independent portable operating system.
  3.  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.
  4. 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:

  1. It is a multi-user operating system
  2. It is multitasking open wisdom
  3.  It is a highly secure operating system
  4.  It can be freely distributed or downloaded it
  5.  It has a portable OS that done with the Spark Alpha processor
  6.  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

1. 

Which of the following command can force all buffers to disk?

Create a free personalised study plan Create a FREE custom study plan
Get into your dream companies with expert guidance
Get into your dream companies with expert..
Real-Life Problems
Prep for Target Roles
Custom Plan Duration
Flexible Plans
2. 

Routing is performed by which of the following layers

3. 

RPM ________

4. 

The dialogue control and token management are responsible for?

5. 

The main Apache configuration file is?

Explore InterviewBit’s Exclusive Live Events
Explore Exclusive Events
By
No More Events to show!
No More Events to show!
No More Events to show!
No More Events to show!
Certificate included
About the Speaker
What will you Learn?
Register Now
6. 

To create a swap partition by using fdisk, which partition’s system ID type should be used?

7. 

Total primary partitions that can exist on one drive is_____________

Start Your Coding Journey With Tracks Start Your Coding Journey With Tracks
Master Data Structures and Algorithms with our Learning Tracks
Master Data Structures and Algorithms
Topic Buckets
Mock Assessments
Reading Material
Earn a Certificate
8. 

Using which of the following command can hidden files be viewed?

9. 

What is the core of the Linux operating system?

10. 

What type of installations requires a special boot disk?

11. 

Where is the user password stored?

12. 

Which command is used to display the operating system name

Discover your path to a   Discover your path to a   Successful Tech Career for FREE! Successful Tech Career!
Answer 4 simple questions & get a career plan tailored for you
Answer 4 simple questions & get a career plan tailored for you
Interview Process
CTC & Designation
Projects on the Job
Referral System
Try It Out
2 Lakh+ Roadmaps Created
13. 

Which command is used to print a file

14. 

OSS stands for _____________

15. 

Which of the following command is used to add a new user to the system?

16. 

Which of the following command is used to change the working directory?

17. 

Which of the following command is used to count the total number of lines, words, and characters contained in a file?

18. 

Which of the following command is used to see the services running in the NFS server?

19. 

Which of the following command is used to sort the lines of data in a file in alphabetical order?

20. 

Which of the following commands is used to display and create files?

21. 

Which of the following commands is used to display the octal value of the text?

22. 

Which of the following is used to back up over typing errors in vi?

23. 

Which of the following is used to represent the top-level directory?

24. 

Which of the following sign is used to represent the user home directory?

25. 

Which option of ls command used to view file inode number

26. 

Identify the command which is used to remove files.

27. 

By default, which port does squid listen to?

28. 

Choose the following statement is true or false: Directory is a type of file.

29. 

Choose the server which is used with the BIND package?

30. 

Choose the TCP/IP Protocol which is used for remote terminal connection service?

31. 

Choose whether the following statement is true or false:  The maximum file size in Linux is 255 bytes.

32. 

FSF stands for __________

33. 

GNU stands for ___________.

34. 

Identify the command used to add printing jobs to the queue.

35. 

Identify the command which is used to create Linux File systems.

36. 

Identify the command which is used to display the unix version.

37. 

Identify the command which is used to record sessions in Linux

38. 

Identify the command which is used to remove files.

39. 

Among the following command which is used with vi editors to delete a single character?

40. 

Identify the command which is used to set terminal IO characteristics.

41. 

Identify the default file system type of Linux

42. 

Identify the hardware structure which is not supported by Red Hat?

43. 

Identify the one which is not a communication command

44. 

Identify the OS which is not based on Linux.

45. 

Identify the service which is used to translate a domain name to IP address.

46. 

Identify this script which is run for setting a global defaults for users

47. 

In which of the following directory does the configuration files are present?

48. 

LILO stands for _____________-

49. 

Linux Kernel was founded by?

50. 

NIS

Excel at your interview with Masterclasses Know More
Certificate included
What will you Learn?
Free Mock Assessment
Fill up the details for personalised experience.
Phone Number *
OTP will be sent to this number for verification
+1 *
+1
Change Number
Graduation Year *
Graduation Year *
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
*Enter the expected year of graduation if you're student
Current Employer
Company Name
College you graduated from
College/University Name
Job Title
Job Title
Engineering Leadership
Software Development Engineer (Backend)
Software Development Engineer (Frontend)
Software Development Engineer (Full Stack)
Data Scientist
Android Engineer
iOS Engineer
Devops Engineer
Support Engineer
Research Engineer
Engineering Intern
QA Engineer
Co-founder
SDET
Product Manager
Product Designer
Backend Architect
Program Manager
Release Engineer
Security Leadership
Database Administrator
Data Analyst
Data Engineer
Non Coder
Other
Please verify your phone number
Edit
Resend OTP
By clicking on Start Test, I agree to be contacted by Scaler in the future.
Already have an account? Log in
Free Mock Assessment
Instructions from Interviewbit
Start Test