add others

Create dummy file of certain size instantly
This commit is contained in:
onceupon 2017-08-23 08:50:24 +08:00 committed by GitHub
parent 00ccd6bc43
commit f8e1e7abdb

View File

@ -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)]