* SUMMARY: what's the command for creating a file of a particular size
@ 1997-06-13 16:50 alpha-osf-manager email acct
0 siblings, 0 replies; only message in thread
From: alpha-osf-manager email acct @ 1997-06-13 16:50 UTC (permalink / raw)
To: tru64-unix-managers
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 ( ( \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-06-13 16:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-13 16:50 SUMMARY: what's the command for creating a file of a particular size alpha-osf-manager email acct
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox