Created
June 9, 2019 08:47
-
-
Save donchan922/42da7f3d1287b99ec1ff83668944bdd2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkfile サイズ[b|k|m|g] ファイル名 | |
# 1KBのファイルを作成する | |
$ mkfile 1k bar.txt | |
# 1MBのファイルを作成する | |
$ mkfile 1m foo.txt | |
# 1GBのファイルを作成する | |
$ mkfile 1g hoge.txt | |
# ファイルサイズを確認する | |
$ ls -lh | |
-rw------- 1 donchan922 staff 1.0K 6 9 17:46 bar.txt | |
-rw------- 1 donchan922 staff 1.0M 6 9 17:46 foo.txt | |
-rw------- 1 donchan922 staff 1.0G 6 9 17:47 hoge.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment