Linux ls 命令

Linux ls(英文全拼:list files)命令用于显示指定工作目录下之内容(列出目前工作目录所含之文件及子目录)。

语法 ls [-alrtAFR] [name…] 参数 # ls -help ls: invalid option — e BusyBox v1.27.2 (2018-06-30 11:19:09 CST) multi-call binary. Usage: ls [-1AaCxdLHRFplinshrSXvctu] [-w WIDTH] [FILE]… List directory contents -1 One column output -a Include entries which start with . -A Like -a, but exclude . and .. -x List by lines -d List directory entries instead of contents -L Follow symlinks -H Follow symlinks on command line -R Recurse -p Append / to dir entries -F Append indicator (one of */=@|) to entries -l Long listing format -i List inode numbers -n List numeric UIDs and GIDs instead of names -s List allocated blocks -lc List ctime -lu List atime –full-time List full date and time -h Human readable sizes (1K 243M 2G) –group-directories-first -S Sort by size -X Sort by extension -v Sort by version -t Sort by mtime -tc Sort by ctime -tu Sort by atime -r Reverse sort order -w N Format N columns wide –color[={always,never,auto}] Control coloring
<
例子

Linux ls 命令

免责声明:文章内容来自互联网,本站不对其真实性负责,也不承担任何法律责任,如有侵权等情况,请与本站联系删除。
转载请注明出处:Linux ls 命令 https://www.yhzz.com.cn/a/14733.html

上一篇 2023-05-12 10:42:20
下一篇 2023-05-12 10:45:39

相关推荐

联系云恒

在线留言: 我要留言
客服热线:400-600-0310
工作时间:周一至周六,08:30-17:30,节假日休息。