For example, ls -t will sort by modification time (newest to oldest) while ls -ls will produce a long listing sorted by size (largest to smallest).
例如,ls - t将按照修改时间排序(从最新到最旧),而ls - ls将生成一个按大小排序的长列表(从最大到最小)。
Some versions of the ls tool have the -c option, which sorts by the time of file modification, showing the most recently modified files first.
有些版本的ls工具具有- c选项,它可以按照文件修改的时间进行排序,最先显示最后修改的文件。
In the article " Learn Linux, 101: File and directory management," you learn how to use the find command to find files by name, modification time, size, or other characteristics.
文件和目录管理” 中,您学习例如如何使用 find 命令根据名称、修改时间、大小或其他特征查找文件。
应用推荐