使用Linux LS列出文件和目录的顺序是多少?

发布于 2025-01-21 02:56:27 字数 1549 浏览 2 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

ゃ懵逼小萝莉 2025-01-28 02:56:27

也许这会有所帮助

答案是它确实以字母顺序排列了,但是将文件分开&目录。当您使用'*'时,您的所有文件列表&位置中的目录以获取所有子文件/目录的列表。它可以将所有文件放在普通块表中以适合屏幕,但是使用目录,它需要将子文件放在每个屏幕上,以清楚一下子文件的属于每个文件。

Maybe this will help

The answer is that it does put them in alphabetical order but it separates files & directories. When you use '*' your passing a list of all files & directories in the location to get lists of all sub files/directories. It can put all the files in the normal block table to fit the screen but with directories it needs to put sub-files under each one for clarity on what sub file belongs to each.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文