Creation of file with specific size

Last update on December 2, 2008 04:12 AM by aakai1056
Published by aakai1056

Creation of file with specific size






The command dd allows you to create new files with specific size in order to avoid creating large sized file for testing purposes:

dd if=/dev/zero of=file_to_create bs=1k count=1000

The above command will create a file size of 1000 kb.
Best answers for « Creation of file with specific size » in :
[Shell]Create a file having a specific size Show Shell]Create a file having a specific size The dd command allows you to create "empty" file of desired size, creating these arbitrary heavy files, may be useful for testing purposes. Use command below: dd if=/dev/zero of=file_to...
Creating an empty file Show Creating an empty file To create an empty file, type the following command: > file You can also use the touch command: touch file
Creating an Autorun.inf file ShowCreating an Autorun file Allowing autorun Creating an Autorun.inf file Variations Customizing the icon Customizing the icon text Customizing the icon menu Allowing autorun Windows provide users with simple utility that runs...
VBA: How to know everything about the file folder ShowVBA: How to know everything about the file folder Preliminaries In module In sheet1 module Preliminaries Open a new workbook Add a module In module ' Declare variables for wizard. Public balloon1 As Balloon Public balloon2...
Writing in batch in text file ShowWriting in batch in text file To write in a file text, you just have to use a redirect: echo text > output_file.txt To write in an existing file: echo " Write at the end of the file ">> output_file.txt
Download Wave Pad Audio Editor ShowDescription The application is designed by NCH Software Group. Just released, Wave Pad Audio Editor has won various awards from certain places. Simple and easy to use, the application allows you to record, to create and edit music. It allows you to...
Operating Systems - MS-DOS - Tips ShowSetting the CD-ROM drive The CD-ROM drive is configured in the config.sys and autoexec.bat system files. The CD-ROM drive device driver must be configured in the config.sys file (even if the device is automatically detected in Windows). To do...
FAT16 and FAT32 ShowThe FAT16 file system The first file system to be used on a Microsoft operating system was the FAT system, which uses a file allocation table. The file allocation table is actually an index which lists the content of the disk in order to record the...
PNG format ShowPNG format The PNG format (Portable Network Graphics or Ping format) is a bitmap (raster) graphic file format. It was developed in 1995 in order to provide a free alternative to the GIF format, which is a proprietary format whose rights are held by...