Advertisement
Guest User

Untitled

a guest
Jul 10th, 2014
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. $ dd bs=4k count=655360 if=/path/to/copy/on/disk/1/file | wc -l &
  2. $ dd bs=4k skip=655360 count=655360 if=/path/to/copy/on/disk/2/file | wc -l &
  3. $ dd bs=4k skip=1310720 count=655360 if=/path/to/copy/on/disk/3/file | wc -l &
  4. $ dd bs=4k skip=1966080 if=/path/to/copy/on/disk/4/file | wc -l &
  5.  
  6. python -c "print len(open('test.txt').read().split('n'))"
  7.  
  8. bash-3.2$ sed -n '$=' test.txt
  9. 519
  10.  
  11. bash-3.2$ python -c "print len(open('test.txt').read().split('n'))"
  12. 519
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement