From: qwms-avib@dea.spamcon.org
To: g3fr-jc21@dea.spamcon.org
Cc: hpfx-0ctl@dea.spamcon.org, Linux-Newbie <linux-newbie@vger.kernel.org>
Subject: Re: Create files with specific sizes?
Date: Wed, 15 Dec 2004 08:20:29 +1300 [thread overview]
Message-ID: <20041215082029.347d1afa.qwms-avib@dea.spamcon.org> (raw)
In-Reply-To: <cpmcg0$3e1$1@sea.gmane.org>
SVisor wrote:
>
> >>is there any way (some command) that will allow me to
> >>create blank files with specific sizes, eg 1MB, 5MB, 10MB etc.
> ...
> > dd if=/dev/zero of=file1 bs=1k count=1024
>
> I wanted a file of garbage, not zeroes.
Just pick a sufficiently large file or device
for your input stream. For example:
dd if=/dev/hda of=file1 bs=1k count=1024
Cheers,
Steven
____________________________
http://www.basiclinux.com.ru
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
next prev parent reply other threads:[~2004-12-14 19:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-14 8:52 Create files with specific sizes? Khan
2004-12-14 9:12 ` qwms-avib
2004-12-14 9:24 ` Khan
2004-12-14 9:41 ` SVisor
2004-12-14 18:54 ` Simon Valiquette
2004-12-16 9:47 ` SVisor
2004-12-17 21:15 ` Simon Valiquette
2004-12-18 11:05 ` SVisor
2004-12-14 19:20 ` qwms-avib [this message]
2004-12-16 1:14 ` Eric Bambach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041215082029.347d1afa.qwms-avib@dea.spamcon.org \
--to=qwms-avib@dea.spamcon.org \
--cc=g3fr-jc21@dea.spamcon.org \
--cc=hpfx-0ctl@dea.spamcon.org \
--cc=linux-newbie@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox