Truncate

truncate -s 10M 10MBfile