From 98353e2c03ab94e3de763ba576037e95e6dc65d6 Mon Sep 17 00:00:00 2001 From: prashant Date: Tue, 9 Apr 2019 14:17:45 +0530 Subject: [PATCH] typo - corrected 1MB to 10MB (#29416) first command creates file with size of 10MB and not 1MB :~/prashant/test$ dd if=/dev/zero of=file_name.txt bs=1024k count=10 10+0 records in 10+0 records out 10485760 bytes (10 MB, 10 MiB) copied, 0.00991439 s, 1.1 GB/s :~/prashant/test$ du -h file_name.txt 10M file_name.txt :~/prashant/test$ --- guide/english/linux/create-file-with-specific-size/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guide/english/linux/create-file-with-specific-size/index.md b/guide/english/linux/create-file-with-specific-size/index.md index 5d4ee2df0d..b7b1922b0b 100644 --- a/guide/english/linux/create-file-with-specific-size/index.md +++ b/guide/english/linux/create-file-with-specific-size/index.md @@ -10,7 +10,7 @@ The "dd" command can be used to create a file of a specific size. This is useful dd if=/dev/zero of=file_name.txt bs=1024k count=10 ``` -This will create a file of 1MB called file_name.txt. +This will create a file of 10MB called file_name.txt. bs is your byte size and count represent the number of blocks. An easy way to look at is 1024K X 10.