Difference between revisions of "Review Questions for Test 1"

From CDOT Wiki
Jump to: navigation, search
Line 19: Line 19:
 
* '''/boot'''
 
* '''/boot'''
 
* /home directory of user who is booting the system
 
* /home directory of user who is booting the system
 +
 +
=== The user password are stored in which file? ===
 +
 +
* /etc/passwd
 +
* '''/etc/shadow'''
 +
* /etc/password
 +
* none of above
 +
 +
=== Grub is a boot loader. It is used to load Linux kernel & driver module files in to memory by reading the configuration file. The name and path of GRUB configuration file is ===
 +
 +
* /etc/grub/grub.conf
 +
* /root/grub.conf
 +
* '''/boot/grub/grub.conf'''
 +
* /boot/grub.conf
 +
 +
=== The Name and path of the linux kernel is ===
 +
 +
* /boot/vmlinux.2.6.25.14-108.fc9.i686
 +
* /boot/initrd.2.6.25.14-108.fc9.i686
 +
* /boot/Linus.torvalds.2.6.25.14-108.fc9.i686
 +
* ''' /boot/vmlinuz-2.6.26.3-29.fc9.i686 '''

Revision as of 20:15, 14 October 2008

What command will list all partitions on all hard drives?

  • fdisk
  • fdisk -l
  • partprobe
  • FDISK

what is wrong with this statement?

dd if=/dev/zero of=/tmp/mytest.img bs-1024 count-10000

  • wrong of file type
  • cannot have zeroes in an img file
  • typing error
  • if and of in the wrong order

Which directory usually contains the GNU/Linux boot files?

  • /
  • /root
  • /boot
  • /home directory of user who is booting the system

The user password are stored in which file?

  • /etc/passwd
  • /etc/shadow
  • /etc/password
  • none of above

Grub is a boot loader. It is used to load Linux kernel & driver module files in to memory by reading the configuration file. The name and path of GRUB configuration file is

  • /etc/grub/grub.conf
  • /root/grub.conf
  • /boot/grub/grub.conf
  • /boot/grub.conf

The Name and path of the linux kernel is

  • /boot/vmlinux.2.6.25.14-108.fc9.i686
  • /boot/initrd.2.6.25.14-108.fc9.i686
  • /boot/Linus.torvalds.2.6.25.14-108.fc9.i686
  • /boot/vmlinuz-2.6.26.3-29.fc9.i686