Update ls.md

This commit is contained in:
小弟调调™ 2020-08-07 16:14:34 +08:00 committed by GitHub
parent d8d8f260f4
commit b56ccf6ee2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -179,6 +179,8 @@ $ ls # 仅列出当前目录可见文件
$ ls -l # 列出当前目录可见文件详细信息
$ ls -hl # 列出详细信息并以可读大小显示文件大小
$ ls -al # 列出所有文件(包括隐藏)的详细信息
$ ls --human-readable --size -1 -S --classify # 按文件大小排序
$ du -sh * | sort -h # 按文件大小排序(同上)
```
显示当前目录下包括影藏文件在内的所有文件列表