1)通常ll会自适应为G,M,K 如 -rw------- 1 usr usr 1.3M Feb 7 10:16 nohup.out -rw-rw-r-- 1 usr usr 11K Jan 30 14:54 tmp.txt -rw-rw-r-- 1 usr usr 814 Jan 30 22:16 xa3.nosuch.py -rwxrwxr-x 1 usr usr 714 Feb 2 00:31 xx.sh* -rw-rw-r-- 1 usr usr 5.4K Feb 5 23:24 xx.txt 2) ls -l --block-size=g ls -l --block-size=m ls -l --block-size=k 3) ls -l --block-size=m -rw------- 1 usr usr 2M Feb 7 10:19 nohup.out -rw-rw-r-- 1 usr usr 1M Jan 30 14:54 tmp.txt -rw-rw-r-- 1 usr usr 1M Jan 30 22:16 xa3.nosuch.py -rwxrwxr-x 1 usr usr 1M Feb 2 00:31 xx.sh -rw-rw-r-- 1 usr usr 1M Feb 5 23:24 xx.txt 可见全部显示成以M为单位 |
说点什么...