Linux interview questions – page 12

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

Advertisement
  1. What file should you examine to determine the defined runlevels for your system?

  2. You need to view the contents of the tarfile called MyBackup.tar. What command would you use? __________

  3. Which of the following commands can you use to cleanly restart a Linux machine? [Choose all correct answers]A) rebootB) init 6C) init 0D) shutdown -rE) shutdown -h

  4. What command can you use to see the boot messages?Choose one:a. dmesgb. cat kernel.messagesc. logviewd. man logs

  5. What Hardware Is Supported?

  6. Which daemon controls the network service -> POP3 mail service? A) inetd B) pop3d C) maild D) nntpd E) pmaild

  7. What is difference between hash mapping and hash table?

  8. You have installed a new UPS (Uninterruptable Power Supply) and the powerd daemon. Which file should you use to define the steps to be taken in the case of a power failure?Choose one:a. /etc/ups.confb. /etc/inittabc. /etc/power.confd. /etc/conf.ups

  9. You have two files each ten lines long. What text filter could you use to combine the two files so that each line of the output contains the corresponding line from each file?

  10. Command will delete a file in linux

  11. What is an Operating System?

  12. Which partitions might you create on the mail server's hard drive(s) other than the root, swap, and boot partitions? [Choose all correct answers]A) /var/spoolB) /tmpC) /procD) /binE) /home

  13. Advertisement
  14. You also need to know the amount of free space on the partition containing the users' home directories. Which of the following commands will provide this information?Choose one:a. df /homeb. df -i /homec. df --syncd. df -T

  15. How Does Linux Kernel Versioning Work?

  16. Many factors are taken into account when planning a backup strategy. The one most important one is how often does the file ____________.

  17. Which of the following commands can be used to get information about a package? [Choose all correct answers]A) manB) listC) aproposD) infoE) more

  18. You know that there should be 1,233 entries in the phonenos file and that each entry in on a separate line. What utility can you use to verify that the file contains 1,233 lines?

  19. What are your weak points?

  20. Script is like x=10;y=20;[$x-ne$y];echo $please give me output.

  21. What is diffrence between ext2 & ext2 & vfat filesystem?

  22. What is the name and path of the default configuration file used by the syslogd daemon?

  23. Which daemon must be running in order to have any scheduled jobs run as scheduled?Choose one:a. crondb. atdc. atrund. crontab

  24. I want to Configure Linux Server for Internet Sharing from Linux to windows system. Can any body tell me how to do it?I have four Pcs and I want to configure one for LInux and other three for windows..............?

  25. When you only back up one partition, this is called a ______ backup.Choose onea. Differentialb. Fullc. Partiald. Copy

  26. Advertisement
  27. To display the contents of a executable file the following command can be used (a) cat (b) od (c) vi (d) ed

  28. Where are the startup scripts defined?Choose one:a. /etc/initdb. /etc/scriptsc. /etc/startd. /etc/inittab

  29. You need to copy all the files and directories contained in the home directory to another location. What utility can you use for this?Choose onea. cpiob. cpc. mvd. mvdir

  30. What Platforms Does Linux Support?

  31. You are not interested in any error messages from the command cat dog cat horse. What command should you enter?Choose one:a. cat dog cat horse >& /dev/nullb. cat dog cat horse &> /dev/nullc. cat dog cat horsed. cat dog cat horse 1> /dev/null

  32. What is Device driver?

Advertisement