Wednesday, January 7, 2009

UNIX tips

HPUX howto create a file of 1GB
$ dd if=/dev/zero of=file_1GB count=2000000
2000000+0 records in
2000000+0 records out
$ ls -l *GB
-rw-r--r-- 1 oracle dba 1024000000 Jan 7 09:29 file_1GB