ls
: 列出文件和目录。 The list command used to display files and directories.-a
: 意思是 "all",全部,所有。列出目录下的所有文件,包括隐藏文件。Linux下的隐藏文件是“.”开头的。This option ensures that all files, including those starting with a dot (.), which are typically hidden, are displayed.-l
: 意思是 "长列表格式",列出目录下所有文件的详细信息。This option provides detailed information about each file and directory.例:
drwxr-xr-x 5 username groupname 4096 Jan 1 12:00 exampleDirectory
见:【Linux基操】‘ls -l‘命令解读--第一列-CSDN博客
Number of Links: 5
The name of the user who owns the file or directory.
The name of the group that owns the file or directory.
这里可以使用 -h 选项方便阅读