温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

ls命令详解

发布时间:2020-09-17 09:19:59 来源:网络 阅读:119 作者:wx5a1f8d23790cb 栏目:系统运维
NAME
           ls     -  list  directory  contents
SYNOPSIS
            ls   [OPTION]...  [FILE]...

DESCRIPTION
list information about the FILES(the current directoryby default). Sort entries alphabetically if none of -cftuvSUX nor sort。 列出files的信息,默认是当前文件夹,如果没有-cftuvSUX和--sort选项的话,按照字母表排序。
-a,-all

            do  not        ignore  enteries   starting  with  .  :不忽略以.开头的条目
            -A, --almoost-all
                    do  not   list  implied    .    and   ..  :  不列出隐含的. 和  ..
            -d,--directory 
                        list   directory   entries  intead  of  contents  ,   and  do  not  dereference  symbolic   links  :列出文件本身,而不是内容,也不列出参考的符号链接  
                -h, --human-readable
          with -l, print sizes in human readable format (e.g., 1K 234M 2G):和-l一起,以人类可读的格式显示出文件的大小。
                        -i,--inode
                                 print   the index  number of  each   file:显示出每一个文件的索引号码
                    -r,--reverse 
                                reverse order   while  sorting  反向排序
                    -R,--recursive
                            list   subdirectories  recursively  递归显示子文件夹
                    -t  sort  by  modification  time   按照修改时间排序
向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI