更新时间:2023-11-26 19:17:16
以点开头的文件和目录(。
)根据标准命令
ls
不会在目录列表中显示。因此,它们通常用于存储设置,首选项,等。目录〜/ .vim
尤其包含个人喜好和设置文本编辑器 vim
。
此类中还有两个特殊的目录名称:名为简单。
是其出现的相同目录的别名(自引用),名为 ..
的目录指的是父目录。
。
许多图形文件浏览器忽略隐藏以。,所以它不一定是正确的任何更长的时间来调用这些文件的隐藏。然而,该术语仍然存在。
Is there anything special about directories which start with a dot .
in Linux (Ubuntu), such as ~/.vim
?
Thanks.
Files and directories whose names begin with a dot (.
) by default are not displayed in directory listings by the standard command ls
. Therefore, they are traditionally used to store settings, preferences, etc.. Directory ~/.vim
in particular surely contains personal preferences and settings for the text editor vim
.
There are also two special directory names in this class: the directory named simply .
is an alias for the same directory in which it appears (a self reference), and the directory named ..
refers to the parent directory of .
.
Many graphical file browsers ignore the convention of hiding file names beginning with a .
, so it is not necessarily correct any longer to call these files "hidden". Nevertheless, that terminology persists.