-
pwd
:the current working directory -
cd -
: return to the previous working directory -
Filenames that begin with a period character are hidden. 使用
ls
不会显示 这些文件,必须使用ls -a
。 - By adding
-l
to the commandls -l
, we changed the output to the long format. -
ls -lt
列出文件详细信息,并根据修改时间排序。使用ls -lt --revers
会反向排序。 -
ls -F
,如果是文件夹会显示为:Downloads/
,在结尾用符号“/”加以区别。 -
ls -lh
,文件大小以KB为单位显示,便于阅读。 -
ls -lhS
,按照文件大小排序,大小以KB为单位显示。
Linux命令"ls"进阶说明
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:Linux文件权限读法
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
linux命令:ls
ls
文件名 升序 linux -
ls,cp(备份),mv等命令进阶
基础命令的使用方法,cp备份文件的正确姿势
Linux基础 Linux命令 Linux运维 -
linux命令总结-ls
ls 相关命令:dir &n
linux ls