From f8e1e7abdbb730a84c5adc0969b715722e814f72 Mon Sep 17 00:00:00 2001 From: onceupon Date: Wed, 23 Aug 2017 08:50:24 +0800 Subject: [PATCH] add others Create dummy file of certain size instantly --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 6c62e8e..d75f150 100644 --- a/README.md +++ b/README.md @@ -1403,6 +1403,18 @@ For example: ```bash yes | rm -r large_directory ``` + +##### Create dummy file of certain size instantly (e.g. 200mb) +```bashdd if=/dev/zero of=//dev/shm/200m bs=1024k count=200 +``` +Standard output: +200+0 records in +200+0 records out +209715200 bytes (210 MB) copied, 0.0955679 s, 2.2 GB/s + + + + ## System [[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]