ls命令详解

系统运维

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   按照修改时间排序

更多关于云服务器域名注册虚拟主机的问题,请访问西部数码官网:www.west.cn

赞(0)
声明:本网站发布的内容(图片、视频和文字)以原创、转载和分享网络内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-62778877-8306;邮箱:fanjiao@west.cn。本站原创内容未经允许不得转载,或转载时需注明出处:西部数码知识库 » ls命令详解

登录

找回密码

注册