Thursday, September 24, 1970

Linux Interview Questions 2

  • You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?
  • What command can you use to review boot messages?
  • Who owns the data dictionary?
  • To display a list of all manual pages containing the keyword "date", what command would you type?
  • In order to improve your system's security you decide to implement shadow passwords. What command should you use?
  • You want to print out a text file called vacations however the lines are of varying length. What text filter could you use to even out the length of the lines?
  • You wish to print the file vacations with 60 lines to a page. Which of the following commands will accomplish this? Choose one: a. pr -l60 vacations | lpr b. pr -f vacations | lpr c. pr -m vacations | lpr d. pr -l vacations | lpr
  • What is kernel updation?
  • What daemon is responsible for tracking events on your system?
  • You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose.
  • What is the minimum number of partitions you need to install Linux? What command can you use to review boot messages?
  • What utility can you use to show a dynamic listing of running processes? __________
  • You want to create a compressed backup of the users' home directories. What utility should you use?
  • Bob Armstrong, who has a username of boba, calls to tell you he forgot his password. What command should you use to reset his command?
  • You have the /var directory on its own partition. You have run out of space. What should you do? Choose one: a. Reconfigure your system to not write to the log files. b. Use fips to enlarge the partition. c. Delete all the log files. d. Delete the partition and recreate it with a larger size.
  • You changed /etc/lilo.conf to cause a boot: prompt to show, however, when you restart your computer you still do not have a prompt. What should you do? Choose one: a. Rename your configuration file to /etc/lilo.conf.new. b. Install the configuration changes by issuing the command /sbin/lilo c. Install the configuration changes by issuing the command /sbin/lilo -t d. Install the configuration changes by issuing the command /sbin/lilo -u
  • You are installing Linux into a computer with two IDE hard drives. You plan on dividing each hard drive into two partitions. What are the names of the partitions? Choose one: a. hda1, hda2, hda3, hda4 b. hda1, hda2, hdb1, hdb2 c. sda1, sda2, sdb1, sdb2 d. sda1, sda2, sda3, sda4
  • What command would you type to use the cpio to create a backup called backup.cpio of all the users' home directories? _____________
  • What file defines the levels of messages written to system log files?
  • You suspect that you have two commands with the same name as the command is not producing the expected results. What command can you use to determine the location of the command being run?
Post a Comment

You might also like :

Related Posts with Thumbnails