Operating System - HP-UX
1825808 Members
2193 Online
109688 Solutions
New Discussion

how to create a big file in hpux

 
SOLVED
Go to solution
halt007
Occasional Contributor

how to create a big file in hpux

Is there a command to create a big file(2G)in hp-ux ?
3 REPLIES 3
Hein van den Heuvel
Honored Contributor
Solution

Re: how to create a big file in hpux



1) prealloc bigfile 2097152

2) dd if=/dev/zero bs=1024k count=2048 of=nigfile

hth,
Hein.
Aashique
Honored Contributor

Re: how to create a big file in hpux

Hi,
To create a big file ur mount point where you want to create big file that partition must have large files support.
Then you can create big file with dd command.

Thanks & Regards
Aashique
Asif Sharif
Honored Contributor

Re: how to create a big file in hpux

#timex prealloc myfile 2097152

Regards,
Asif Sharif
Regards,
Asif Sharif