Hacker News new | past | comments | ask | show | jobs | submit login

> # yes | head -c 512 > foo

How about `truncate -s 512 foo`?




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: