Home > Unix/Linux > Powerful Linux/Unix Command dd, right?

Powerful Linux/Unix Command dd, right?

dd has been around for so many years( since 1970). It comes to help for quite a lot of things. I am impressed every time I have to use it, it is the right tool in the right time.  It is very powerful and can rely on it if you know how to use it.

Here are some examples of dd use:

1. Convert EBCDIC to ASCII or vice versa

dd if=file.in of=file.out conv=ebcdic

2. Make bootable iso from DVD in case you need to backup the CD/DVD into image

dd if=/dev/hda of=dvd.iso

3. Drop ASM diskgroup

dd if=/dev/zero of=/dev/sdb bs=1048576 count=50

dd will put zeroes in the header of /dev/sdb disk, erasing the information. In this way the asm disk is seen as CANDIDATE and you are ready to re-use it.  Check out Metalink [ID 563048.1].

Cheers,

Maria

Advertisements
Categories: Unix/Linux
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: