Browse Source

Merge pull request #400 from mkwardakov/large-file

Add commands for creating large dummy files
pull/454/merge
Joshua Levy 8 years ago committed by GitHub
parent
commit
4c209c7752
  1. 2
      README.md

2
README.md

@ -293,6 +293,8 @@ mkdir empty && rsync -r --delete empty/ some-dir && rmdir some-dir
setfacl --restore=permissions.txt
```
- To create empty files quickly, use `truncate` (creates [sparse file](https://en.wikipedia.org/wiki/Sparse_file)), `fallocate` (ext4, xfs, btrfs and ocfs2 filesystems), `xfs_mkfile` (almost any filesystems, comes in xfsprogs package), `mkfile` (for Unix-like systems like Solaris, Mac OS).
## System debugging
- For web debugging, `curl` and `curl -I` are handy, or their `wget` equivalents, or the more modern [`httpie`](https://github.com/jkbrzt/httpie).

Loading…
Cancel
Save