203k views
2 votes
What dd command would you use to copy the contents of a partition named /dev/drive1 to another partition, called /dev/backup?

1 Answer

4 votes

Answer:

dd if=/dev/drive1 of=/dev/backup

Step-by-step explanation:

Linux operating system is an open-source computer application readily available to system operators. The terminal is a platform in the operating system used to write scripts like bash and directly communicate with the system kernel.

There are two commands used in bash to copy files, the "cp" and "dd". The dd is mostly used to copy files from one storage or partition to another. The syntax of dd is;

dd if= (source partition/directory) of= (target partition/directory)

User Kingcope
by
6.2k points