0
正如标题所说的--LA在ls命令中做了什么?ls -LA做什么操作?
我试着阅读LS的手册和它说:
-A List all entries except for . and ... Always set for the super-user.
-L Follow all symbolic links to final target and list the file or directory the link references rather than the link itself. This option cancels the -P
option.
但我不太清楚是什么意思的那些。
您确定-A包含隐藏文件吗?它在手册中说它没有。 –
我很确定。我在窗户上,但在Git bash中,它以这种方式工作。大写字母A会列出隐藏文件,但忽略隐含的“。”(当前目录)和“..”(父目录) – yadejo
用**大写字母(ls -LA)编辑您的答案。 'ls -a'列出了以点开头的名称; 'ls -A'列出了以点开头的名字,以及由“:”和“..”开头的_apart_。 – linuxfan