Creat a File with a Specific Size

Hi everybody,

Is there a command that can create a new file with a specific size?

Thanks in advance.

man dd or mkfile ( available only on Solaris )

dd if=/dev/zero of=myfile bs=1024 count=10

Thank you very much for the replies.