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-create bs=1k count=1000
This command results in the creation of an empty 1GB file
(
1000 represents 1000 blocks of 1Kb)