Difference between revisions of "Review Questions for Test 1"

From CDOT Wiki
Jump to: navigation, search
(What command will list all partitions on all hard drives?)
Line 12: Line 12:
 
*'''typing error'''
 
*'''typing error'''
 
*if and of in the wrong order
 
*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

Revision as of 18:57, 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