系统运维 NAME ls - list directory contents SYNOPSIS ls [OPTION]... [FILE]... DESCRIPTIONlist
系统运维
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 按照修改时间排序
免责声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,也不承认相关法律责任。如果您发现本社区中有涉嫌抄袭的内容,请发送邮件至:operations@xinnet.com进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。