DD program Flashcards
1
Q
What is the standard syntax of dd?
A
dd if=/dev/zero of=new_file bs=1024 count=1
2
Q
if=file
A
the input file
default is standard input
3
Q
of=file
A
output file
default is standard output
4
Q
bs=size
A
the block size
dd reads and writes this many bytes of data at a time
can use b or k
5
Q
ibs=size, obs=size
A
input and output block sizes
if you can use the same block size for both input and output, use the bs option, otherwise use this option
6
Q
count=num
A
the total number of blocks to copy
7
Q
skip=num
A
skip past the first num blocks in the input file or stream and do not copy them to the output