July 2018
Beginner
264 pages
8h 9m
English
The dd command is mainly used for converting and copying files. The if parameter stands for input-file and is a source. of stands for output-file and is a source where we want to paste data.
# create a file 01.txt and add some content in that file.# create another file 02.txt and add some content in that file.$ dd if=/home/student/work/01.txt of=/home/student/work/02.txt bs=512 count=1
$ sudo dd if=/dev/sda2 of=/home/student/hdbackup.img
$ sudo dd if=/home/student/work/1.sh ...
Read now
Unlock full access