Linux interview questions – page 17

517 questions. Tap “Show answer” to check yourself.

Advertisement
  1. Which of the following commands will combine the contents of the files tom and betty into a new file called friends?Choose one:a. ls tom betty > friendsb. cat tom betty > friendsc. more tom betty >> friendsd. cat tom; cat betty > friends

  2. What command is used to remove the password assigned to a group?

  3. You have a file named 'kickoff' and would like to find every line beginning with a number. Which of the following commands will accomplish this?Choose one:a. grep [0-9] kickoffb. grep ^[0-9] kickoffc. grep [0-9]$ kickoffd. grep $[0-9] kickoff

  4. Which first-level segment of the file system contains a majority of system and server configuration files within its subdirectories?A) /varB) /etcC) /binD) /sbinE) /lib

  5. How to copy, rename, move a file in Linux?

  6. How to join two table and write the query?

  7. What is the difference between linux and windows operating systems?

  8. Tell me something about networking?

  9. About the linux

  10. Name the partitioning tool available in all distributions?

  11. Explain the steps involved in installing raid-5?

  12. Which IP addressing should you use for Server?

  13. Advertisement
  14. What is the purpose of the swapon command ?

  15. What is the minimum number of partitions you need to install Linux?What command can you use to review boot messages?

  16. What are the linux boot files?

  17. What file defines the levels of messages written to system log files?

  18. You have two files in two different directories with the same inode. What type of link is involved?

  19. What command should you use to check your filesystem?

  20. Which partitioning tool is available in all distributions?

  21. Which service provides searching capabilities on an intranet or domain?

  22. What command can you use to review boot messages?

  23. What is the scope of linux administration?

  24. What is the command used to install an RPM package named demofilename2.2-2.i386.rpm?

  25. What is the gateway?

  26. Advertisement
  27. What is the server ?

  28. Can you differentiate computer software and computer program?

  29. How will you add user in linux without using adduser & useradd command?

  30. Are drives such as harddrive and floppy drives represented with drive letters?

  31. What is typical size for a swap partition under linux system?

  32. In Linux, what names are assigned to the different serial ports?

Advertisement