BLOCKSIZE=HUMAN
BLOCKSIZE=HUMAN-READABLE
不知道怎么设置。
DF_BLOCK_SIZE
This specifies the default block size for the df command. Similarly, DU_BLOCK_SIZE specifies the default for du and LS_BLOCK_SIZE for ls.
BLOCK_SIZE
This specifies the default block size for all three commands, if the above command-specific environment variables are not set.
BLOCKSIZE
This specifies the default block size for all values that are normally printed as blocks, if neither BLOCK_SIZE nor the above command-specific environment variables are set. Unlike the other environment variables, BLOCKSIZE does not affect values that are normally printed as byte counts, e.g., the file sizes contained in ls -l output.
POSIXLY_CORRECT
If neither command_BLOCK_SIZE, nor BLOCK_SIZE, nor BLOCKSIZE is set, but this variable is set, the block size defaults to 512.
变量
变量 POSIXLY_CORRECT 确定计数单位的选择。如果没有设置此变量并且环境变量 BLOCKSIZE 的值 以
HUMAN 为 前 缀,那么,除了 -k 或 -m 选项优先生效的情况,计数单位的行为同于 -h 选项。变量
LANG、LC_ALL、LC_CTYPE 和 LC_MESSAGES 的意义和字面上一样。