Linux Interview Questions and Answer – Part 6

  1. script/command to delete last word from every line in a file
    2.script/command to find the files with more than 1gb size
  2. What is Swap Space?
  3. What is the maximum length for a file name in Linux?
  4. Which partition stores the system configuration files in Linux system?
  5. Which command is used to uncompress gzip files?
  6. What is the difference between soft and hard mounting points?
  7. What are the file permissions in Linux?
  8. more questions are from sed, find and awk .
  9. How to check Memory stats and CPU stats as a Linux admin?
    11.How to reduce or shrink the size of LVM partition?
  10. How can you enhance the security of password file?
  11. What is the difference between Cron and Anacron?
  12. What command is used to check the number of files, disk space and each user’s defined quota?
  13. how can you manage memory in linux machines?
    1. What is the name and path of the main system log?
  14. how to manage logical volumes?
  15. Explain /proc filesystem?
  16. What are the fields in the/etc/passwd file?
  17. How do you terminate an ongoing process?
  18. How can you know the execution time of a command?
  19. How can you append one file to another in Linux?
  20. How you can run an Linux program in the background simultaneously when you start your Linux Server?
  21. How to check previous command is success or not ?
  22. Give me a command to create a file with specific size ?
Rajesh Kumar
Follow me