tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Linux truncate(1) equivalent?



On Thu, Jul 10, 2014 at 07:43:21PM +0200, Martin Neitzel wrote:
>       fortune -l > xx
>       dd bs=1 seek=10 if=/dev/null of=xx
>       ls -l xx ; od -a xx

Indeed that one works. I was close to it but not enough.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index