Review Questions for Test 1

From CDOT Wiki
Revision as of 19:57, 14 October 2008 by Vsjhand (talk | contribs)
Jump to: navigation, search

What command will list all partitions on all hard drives?

  • fdisk
  • fdisk -l
  • partprobe

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