These commands can be used to create an image of a CD/DVD/HDD. You can also use some GUI tool like K3B to do this. Use one any of the three commands…
dd if=/dev/cdrom of=cd_image.iso
cat /dev/cdrom >image.iso
readcd dev=device f=image.raw
[tags]cd, command, dd, dvd, image, iso,linux,raw[/tags]