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