Top 100 CompTIA Linux+ Interview Questions

Rashmi Bhardwaj | Interview Questions


  1. Which command is implemented in bash as Internal Command?
  2. What is the use of pwd command?
  3. You enter exec gedit in the xterm window launched from window manager. What will turn out on your exit from gedit program?
  4. Which method will surely lead to running a program whose location is in current working directory?
  5. How information is displayed by man on most systems of Linux by default?
  6. What will be the effect of following command?$ myprog &> input.txt
  7. How to remove the error messages printed by a program of text mode to standard error while still remaining in interaction with the program?
  8. Explain cpio utility and its operating modes.
  9. What is the difference between >> and > redirection operators?
  10. The configuration file’s end is displayed using which program?
  11. What effect does the following command brings?$ pr report.txt | lpr
  12. Which command could be used for numbering lines in aleph.txt?
  13. Which command could be used for changing all dog occurrences in animals.txt file to mutt in display of screen?
  14. Which command could be used for printing lines from world.txt file that has matches to “changed” and “changes”?
  15. Which regular expression could be used for matching strings dug, dog with several others excluding dig?
  16. Which advantage is offered over binary package by source package?
  17. What is the impact of following command typed on Linux based on RPM by an administrator?# rpm -ivh megaprog.rpm
  18. Which command could be used for extracting content of file myfonts.rpm in current directory?
  19. Which command could be used for removing the program named package using dpkg including the files of configuration?
  20. The difference between dpkg and apt-get could be described by which statement/command?
  21. Which command can provide list of all packages installed on Debian system?
  22. What is effect of command apt-get typed on Debian system as root?
  23. Which command would help to update program of unzip to latest version on Fedora system?
  24. How a system using Yum for accessing additional repository of Yum software should be configured?
  25.  Which is the method that is preferred the most for adding directory for all users to path of library?
  26. How to substitute Qt libraries by GTK+ libraries if you do not want the look of Qt widgets but GTK+ widgets?
  27. What intent is probable when kill -9 11287 is typed by the user at bash prompt when it is assumed that he has entered correct command?
  28. Which program can help to learn the load average of system?
  29. A processes display could be created by which command to show relationship of parent-child using links between names?
  30. What is the conclusion if it is found that process named dfcomp is consuming over 90% of the CPU time of system?
  31. What you can conclude if a new command prompt is received without any intervening output by typing jobs at the prompt of bash command?
  32. What is the restriction on abilities of ordinary user for running renice?
  33. For RS-232 serial ports, what common IRQ is there?
  34. Which tool could help in disabling the sound hardware of motherboard?
  35. What is udev’s purpose?
  36. Which device identifier is used for refereeing disk if Linux is just installed on new computer having single SATA hard disk?
  37. The essential information of system liked channels of direct memory access, IRQs and I/O addresses are contained in which files?
  38. Which is the information piece that could not be reported by df?
  39. What could be accomplished using following command?# mkfs -t ext2 /dev/sda4
  40. What is the mount point that could be linked with partitions of swap?
  41. What could be used with fsck for forcing it to use some specific type of filesystem?
  42.   A four partitions list: /dev/sda2, /dev/sda1, /dev/sda6 and /dev/sda5 is produced when fdisk -l /dev/sda is typed on Linux computer having MBR disk then what does this mean?
  43. Which statement can best describe the configuration crated by Linux administrator with separate /etc partitions and /home, /usr/local along with root (/) partition?
  44. Which directory is most likely placed on the partition of own hard disk?
  45. What could be said about the disk that has partitions with type codes 0x82, 0x0fa and 0x83 assuming these to be correct?
  46. What could be done for correcting the problem of working on wrong disk for modifying partition layout?
  47. Which environment variable is used to store path to the prior current directory?
  48. What are the entities to which Linux assigns permissions? What are those values?
  49. What is the UID for root user?
  50. Is there a mechanism to execute a command by its number?
  51. What is difference between Coldplug and Hotplug Devices?
  52. Which are the 3 most common hard disk interfaces available in modern computers?
  53. What is the process of removing two lines of text within a file with the help of Vi?
  54. When you type :q! In the command-mode of Vi, what is the effect generated?
  55. How the application of Vi can be beneficial over Emacs?
  56. Which 3 timestamps are maintained by Linux-native filesystem?
  57. How many number of commands could possibly be piped together at once?
  58. How to copy the output of an interactive script to a file if lot outputs are produced by the script in response to inputs of user?
  59. What are the various ways by which you can enter insert mode through Vi’s command-mode?
  60. Mention the way by which you can exit Vi’s insert mode to type the command-mode commands?
  61. What is the objective that you can attain with runlevel 4?
  62. What is the runlevel status you receive when you type the following command-$ runlevel5 3Mention two status.
  63. Mention the runlevels that are reserved for shutdown, reboot, and single-user mode objectives.
  64. What do you understand by the statement- The string root (hd 1,5) appears in /grub/boot/menu.lst
  65. Explain the command that is applied in order to install GRUB Legacy into MBR of first SATA HDD.
  66. Define the way by which you could recognize an initial RAM disk file within GRUB 2?
  67. After the completion of the booting process, the hard disk of your system is not responding. What do you consider the reason behind it?
  68. Where should the BIOS look for a boot loader?
  69. What is the instance that you deduce out of the following interaction-$ which man/usr/bin/man
  70. What is the function(s) that only the ‘type’ command can accomplish and not ‘whereis’ command?
  71. Name the file location command that consumes the maximum amount of time in order to trace out a file located anywhere within a computer system.
  72. Assume a case where you have successfully installed a commercial spreadsheet program by the name of WonderCalc. Mention the path to the directory where you have the highest probability of finding the executable file of the program.
  73. Which is the best time for the programs to be configured with set user ID (SUID) root?
  74. When you see the usrquota and grpquota existing in the / etc/fstab entry for a specific filesystem. Define the consequence resulting from these entries.
  75. Define the command that can be applied in order to summarize quota information for all filesystems.
  76. What do you understand by the situation- Typing Is -Id wonderjaye produces a symbolic file mode named drwxr-xr-x?
  77. The utility of which form of link is executable in a situation where you build a link right from your home directory existing over the hard disk to a directory set over a CD_ROM drive?
  78. Name the command that you would use under the following circumstances- you have received a tarball termed as data79.tar right from the id of a coworker, but as a precautionary measure would like to verify the file names in it prior to extracting the same.
  79. Suppose you get a situation, where you type mkdir one/two/three and then get an error message that reads, No such directory or file. What are the ways to surmount this problem?
  80. Which is the most recommended command to discover and recognize the size of various dot files within a directory and why?
  81. Mention some of the /etc/fstab entries that can mount /dev/sdb2 in the form of / home directory at the boot time.
  82. What is the key benefit of preferring journaling filesystem in contrast of non-journaling (conventional) filesystem?
  83. Mention some of the basic components integrated in Linux +.
  84. Explain the role of symbolic links in Linux + OS.
  85. What do you understand by the term daemons?
  86. Briefly explain different modes that one can implement at the time of Vi editor usage.
  87. Define the contents that you can find in /usr/local.
  88. How would you like to throw some light over the case-sensitivity issues in Linux + operating systems?
  89. What is the best approach of executing more than one program or command via a single command line entry?
  90. What do you understand by the term ‘hard links’ in CompTIA Linux +?
  91. Elaborate the checking process for the Rootkit infections in Linux +.
  92. Define the process of setting-up password aging in Linux +.
  93. Explain the process of remotely login with SSH in detail.
  94. What do you interpret by the term ‘swap space’ in Linux +?
  95. Explain the process by which you can run Linux + program in the background simultaneously starting the Linux server.
  96. What does a nameless directory denotes in Linux +?
  97. What do you understand by the term ‘BASH’?
  98. How would you differentiate BASH from DOS?
  99. What do you understand by the term crontab and define its functionality and format?
  100. What do you understand by Network Bonding? Also elaborate the different kinds of network bonding.
  101. Suppose you are getting an error “filesystem is full”, but on contrary, there is enough space present while verifying through the “df” command. What is the problem and how could you rectify the same?
  102. What are the steps to find out the quantity of memory usage by Linux +?
  103. Elaborate the system calls that are meant for process management.
  104. How is it possible for multiple machines to share a single connection of Internet in Linux +?
  105. What do you understand by the term ‘Command Grouping’?


Check our new website For Free Video Courses, TechBlog, Mindmaps, Cheatsheets and much more.



Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart