Top Linux Interview Q&A


LINUX Interview Q&A Vol 1.0

Categories: ,

Linux Interview Questions & Answers Vol 1.0

These are the 51 most important Linux Interview Questions which you must prepare –

Note – You can Purchase Answers of all given Linux Interview Questions from Above in Easy to Understand PDF Format

  1. What is LVM?
  2. Create a new file “merged.txt” that is a concatenation of “file1.txt” and “file2.txt”
  3. How to login as a different user in Linux?
  4. What Is BASH?
  5. What Is GRUB?
  6. What is a swap space?
  7. Describe the root account in Linux?
  8. What are the kinds of permissions under Linux?
  9. What is meant by PIPE in Linux?
  10. What is Zombie Process?
  11. What is the Crontab?
  12. How can we list all the process running on a machine?
  13. What are the different file ownerships in Linux?
  14. Explain the usage of ‘head’ and ‘tail’ commands.
  15. How can we introduce wait time in scripts?
  16. Explain the meaning of the permission mode “drwxr-x–x”?
  17. What are Regular Expressions (regex)? What is the meaning of *, +, ? in a regular expression?
  18. What are soft links?
  19. What are hard links in Linux? How it is different from the soft link?
  20. What is Samba? Why is it used?
  21. What is SSH? What is the difference between Telnet and SSH?
  22. What does curl command do in Linux?
  23. What is SeLinux?
  24. What is the difference between CTRL-C and CTRL-Z in the terminal?
  25. Explain /proc filesystem?
  26. Which is the core of the operating system?
  27. What is the purpose of <dmesg> command?
  28. What is the command to change the group ownership of a file?
  29. Which command is used to extract first a column from a text file name Test.txt?
  30. Which command displays the disk consumption of any directory?
  31. Which command creates an empty file if it does not exist?
  32. Display all the files and its subdirectories including the hidden files in directory /tmp?
  33. Which option of rm command is used to remove a directory including all its subdirectories?
  34. How to identify which shell you are using?
  35. If you want to login into a system with IP address as a user “john”, then the command would be:
  36. What is iptables command in Linux? Write a command that appends a rule in the INPUT chain to accept all packets originating from
  37. How to count the number of words, lines and characters in a file called test.txt?
  38. What is the output of the following shell script code?
  39. What will be the output of the following program assuming that command line arguments are cat dog giraffe?
  40. How to see the list of mounted devices on Linux?
  41. How would you open a file in read-only mode using the vim editor?
  42. How do you sort the entries in a text file in ascending order?
  43. How do you get help about the command “cp”?
  44. Which file contains the filesystems to be automatically mounted during boot?
  45. What does the following command do? “who | wc –l
  46. How do you find which remote hosts are connecting to your host on a particular port, for example, port 56475?
  47. There is a file Test.txt which contains words Windows. How will you replace all Windows word with Linux?
  48. How can you list all the opened files of user sasa?
  49. How you can find all subdirectories of directory /var/ that have summarized size in Gigabytes?
  50. Write a script that checks if a file, given as an argument, has more than 10 lines or not. If it does – print “Over 10”, else print “Less than 10”?
  51. A company is running Web Server apache. Visitors are able to scan the directory tree. Which directive would you configure to stop webserver from listing the directory due to security measure?

Order Answers of above Linux Interview Questions from Above!

Upon purchasing you will receive Answers of all above 51 Linux Interview questions in easy to understand PDF Format explained with relevant Diagrams (where required) for better ease of understanding.

If you wish to purchase bundles of other Interview Questions, please check our other Interview Guides in Shop Section.


There are no reviews yet.

Be the first to review “Top Linux Interview Q&A”

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

Shopping Cart
Top Linux Interview Q&A