【发布时间】:2021-09-17 20:12:09
【问题描述】:
基本问题,在终端中,下面是做什么的?
ls -lthr
上面和普通的有什么区别
ls -l
谢谢
【问题讨论】:
-
我投票结束这个问题,因为我认为它属于unix.stackexchange.com
基本问题,在终端中,下面是做什么的?
ls -lthr
上面和普通的有什么区别
ls -l
谢谢
【问题讨论】:
您必须了解- 之后的每个字母都是一个选项。
您可以使用 ls --help 或 man : https://man7.org/linux/man-pages/man1/ls.1.html 查看这些选项
-l
use a long listing format
-t
sort by time, newest first; see --time
-h, --human-readable
with -l and -s, print sizes like 1K 234M 2G etc.
-r, --reverse
reverse order while sorting
【讨论】: