linux 中的“.filename”是什么以及如何打开该文件?

what is ".filename" in the linux and how to open that file?

我在使用命令 ls -a 时多次看到这些文件。但我想打开该文件并访问该文件。 material 包含该文件的内容。如何做到?

在 linux 中名称以 .是隐藏文件。 当您使用 'ls' 时这些文件不会显示,但使用 'ls -a' 也会显示这些隐藏文件。 如果你在你的主目录上执行 ls -a 你会看到很多这样的文件。 (.profile .bashrc .history 等) 这样的文件名被赋予配置文件。所以这些文件中的大多数将采用文本格式..并且可能采用其他格式,具体取决于它属于哪个应用程序。

要知道格式使用下面的命令file filename

查看文本文件cat filename