DD program Flashcards

1
Q

What is the standard syntax of dd?

A

dd if=/dev/zero of=new_file bs=1024 count=1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

if=file

A

the input file

default is standard input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

of=file

A

output file

default is standard output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

count=num

A

the total number of blocks to copy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly