In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
Editor to share with you what file .d in linux refers to, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
Linux in the ".d" file means: 1, dependent file, where d is the meaning of dependence; 2, the default configuration file, in which d is the meaning of default; 3, the dynamic meaning of the file, where d is the meaning of Dynamic.
The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
What is the .d file in linux
Dependent files: dependence
.d may also mean default, indicating the default (configuration) file
It is also possible that it means Dynamic, a document that represents dynamic meaning.
Folders with .d are more common, such as many under / etc, indicating that there are system default configuration files under the folder.
Generally, in order to maintain the compatibility with the original configuration, the .d ending directory is added.
Such as: / etc/X11/xorg.conf this is originally a file, and now there is a directory like / etc/X11/xorg.conf.d. The relevant settings of the video card driver were originally placed in the file / etc/X11/xorg.conf. Now, for the sake of the simplicity and flexibility of the configuration file, you can allocate the configuration according to the situation and throw it into / etc/X11/xorg.conf.d. Add it in the same way as the rules. The system will automatically go to this / etc/X11/xorg.conf.d to find these rules and set them according to the rules. This maintains compatibility with the previous / etc/X11/xorg.conf method.
Another example: in the Yum distribution, / etc/yum.repo is the configuration file of yum, so you can throw all the yum sources into the yum.repo file, and now you can also throw different source configuration files into / etc/yum.repo.d, and only set some common configuration options in yum.repo. In this way, which source you don't want can be deleted from / etc/yum.repo.d without affecting other sources, and it's the same reason to add more sources.
And / etc/env.d,/etc/profile.d,/etc/udev.rules.d, etc. It's all the same.
The above is all the contents of the article "what does .d in linux refer to". Thank you for your reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.