Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 03:30:07 -0400
From:      mpd <mpd@rochester.rr.com>
To:        shubha mr <shubha_mr@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: file of large size
Message-ID:  <20021002073007.GA31126@rochester.rr.com>
In-Reply-To: <20021002072517.28439.qmail@web14611.mail.yahoo.com>
References:  <20021002072517.28439.qmail@web14611.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 02, 2002 at 08:25:17AM +0100, shubha mr wrote:
> Hi,
> Can anyone suggest me a shell script or a command to
> create a large file in BSD(aroung 50 MB).Any junk data
> in it is also fine.

cat /dev/urandom | head -c <byte count> > large_file
large_file will be a <byte count> file of garbage data.

> 
> Thanks in advance,
> shubha
> 

mike

-- 
___________________________________________________________
 
"HER NAME, MY YOUNG FRIEND, IS APPARENTLY HEADCHEESE."
	- Pokey the Penguin from "POKEY THE PENGUIN AND HEADCHEESE"

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021002073007.GA31126>