ls 命令
发布时间:2020-12-14 00:13:31 所属栏目:Linux 来源:网络整理
导读:用法:ls [选项]... [文件]...List information about the FILEs (the current directory by default). -a,--all 不隐藏任何以. 开始的项目 -A,--almost-all 列出除. 及.. 以外的任何项目 --author 与-l 同时使用时列出每个文件的作者 -d,--directory list d
用法:ls [选项]... [文件]... List information about the FILEs (the current directory by default). -a,--all 不隐藏任何以. 开始的项目 -A,--almost-all 列出除. 及.. 以外的任何项目 --author 与-l 同时使用时列出每个文件的作者 -d,--directory list directories themselves,not their contents -i,--inode print the index number of each file -I,--ignore=PATTERN do not list implied entries matching shell PATTERN -l 使用较长格式列出信息 -m 所有项目以逗号分隔,并填满整行行宽 -p,--indicator-style=slash 对目录加上表示符号"/" -r,--reverse 逆序排列 -R,--recursive 递归显示子目录 -s,--size 以块数形式显示每个文件分配的尺寸 -t sort by modification time,newest first -1 list one file per line (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |