Byt*_*der 20
ls -alh与 相同ls -a -l -h。
多个短选项可以这样组合。
以下是这些选项的含义man ls:
-a, --all
do not ignore entries starting with .
-l
use a long listing format
-h, --human-readable
with -l, print sizes in human readable format (e.g., 1K 234M 2G)
Run Code Online (Sandbox Code Playgroud)
-h代表人类可读。
正如评论所说,你可以结合简单的参数,如: -alh。顺序无关紧要。
来自man ls:
-h, --human-readable
with -l and/or -s, print human readable sizes (e.g., 1K 234M 2G)
Run Code Online (Sandbox Code Playgroud)