[Ilugc] doubt in dd
- From: rajasuperman@xxxxxxxxx (Raja Subramanian)
- Date: Thu Oct 12 04:04:51 2006
On 10/12/06, Vijairaj <vijairaj.r@xxxxxxxxx> wrote:
On 10/11/06, Girish Venkatachalam <girishvenkatachalam@xxxxxxxxx> wrote:
An interesting feature that I find very useful is the option 'seek',
the command above can instead be used as:
dd if=/dev/zero of=1gfile bs=1024 seek=1024k count=1
And one of the more obscure uses of dd is to byteswap while
reading from "if" to "of". If you ever need to read binary data
written by a big endian machine on a little endian box, you'll
find it usefull.
Typical scenario is when a SUN box writes an entire array/matrix
of ints or floats to disk and you want to read it on a PC.
- Raja
Other related posts: