tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: alpha-osf-manager email acct <osf () python ! corning ! com>
To: tru64-unix-managers
Subject: SUMMARY: what's the command for creating a file of a particular size
Date: Fri, 13 Jun 1997 16:50:38 +0000	[thread overview]
Message-ID: <96078613510434.tru64-unix-managers.marc@archive.invalid> (raw)

the to the 13 respondents
the command i was after was mkfile
however mkfile is a solaris utility & doesn't exist on dunix
here are some other creative answers i received:

yes | head -c bytes >filename

dd if=/dev/zero of=theNameOfTheFile bs=189465 count=1

perl -e 'print  "0" x 1024' > 1k

head -c # /dev/zero > myfile

fseek()
        
-- 
   ( (   /                  J. Shane  Kennedy                   \   ) )
  / ) ) /                osf@python.corning.com                  \ ( ( \
 / ( ( /     ===============================================      \ ) ) \
/   ) )      my opinions do not reflect those of my employer       ( (   \
                                                                             

                 reply	other threads:[~1997-06-13 16:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox