Linux目录以点开头 [英] Linux directory starting with dot
问题描述
。
开头的目录有什么特别的,比如〜/ .vim
? 谢谢。
以点开头的文件和目录(。
)根据标准命令
ls
不会在目录列表中显示。因此,它们通常用于存储设置,首选项,等。目录〜/ .vim
尤其包含个人喜好和设置文本编辑器 vim
。
此类中还有两个特殊的目录名称:名为简单。
是其出现的相同目录的别名(自引用),名为 ..
的目录指的是父目录。
。
许多图形文件浏览器忽略隐藏以<$ c开头的文件名的约定$ C>。,所以它不一定是正确的任何更长的时间来调用这些文件的隐藏。然而,该术语仍然存在。
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.
这篇关于Linux目录以点开头的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!