Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you can just invert and do tail first

sudo tail -zc +513 /dev/sda | head -c 512 > /tmp/boot.2



Well now you're seeking to the offset (tail is).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: