[clug] md5sum and verifying DVD

Stephen Jenkin sjenkin at canb.auug.org.au
Thu Jul 28 05:12:04 GMT 2005


On Thu, 28 Jul 2005, Tony and Robyn Lewis wrote:

> Ta.  Was thinking, though, of something better than 'head' for trimming 
> bytes off a file (is there some 'trim'-ish command)?

It's 'dd':
 - skip=nnn -> skip the first nnn blocks
 - seek=nnn -> seek to block nnn

'count' you already know...

from the man page:
 seek=BLOCKS   skip BLOCKS obs-sized blocks at start of output
 skip=BLOCKS   skip BLOCKS ibs-sized blocks at start of input

Where:
 ibs = input block size
 obs = output block size
  bs = set ibs & obs to same value

> Tony
> 
> -- 
> linux mailing list
> linux at lists.samba.org
> https://lists.samba.org/mailman/listinfo/linux
> 


Steve Jenkin, Unix Sys Admin
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://www.tip.net.au/~sjenkin




More information about the linux mailing list