Difference between revisions of "Review Questions for Test 1"

From CDOT Wiki
Jump to: navigation, search
(New page: === What command will list all partitions on all hard drives? === * fdisk * '''fdisk -l''' * partprobe * FDISK)
 
(What command will list all partitions on all hard drives?)
Line 4: Line 4:
 
* partprobe
 
* partprobe
 
* FDISK
 
* 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

Revision as of 12:09, 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