Girish Venkatachalam <girishvenkatacha...@...> writes:
> 
> On Thu, Nov 11, 2010 at 1:42 PM, Tha.Suresh <jemenisur...@...> wrote:
> > Create a file of a given size in linux
> >
> > $ truncate -s 10M file
> >
[clip]
> 
> I can only see truncate(2) in section 2 of the man page in OpenBSD.
> 
> Too bad.

dd can also be used to achieve a similar effect.

$ dd if=/dev/null of=file seek=10M bs=1

Regards,
Vijay

-- 
P: http://www.bravegnu.org/
C: http://www.zilogic.com/

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to