In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly introduces "what is the role of hidden files in Linux home directory". In daily operation, I believe that many people have doubts about the role of hidden files in Linux home directory. Xiaobian consulted all kinds of information and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the question of "what is the role of hidden files in Linux home directory". Next, please follow the editor to study!
On Linux, you may store a large number of files and folders in your home directory. But in addition to these files, did you know that your home directory comes with a lot of hidden files and folders? If you run ls-an in your home directory, you will find a bunch of hidden files and directories with a little prefix. What on earth did these hidden files do?
What are the files hidden in the home directory for?
Hidden-files-liunux-2
Typically, hidden files and directories in the home directory contain settings or data accessed by the user program. They are not intended to be edited by the user, only by the application. This is why they are hidden outside the user's normal view.
In general, deleting and modifying files in your own home directory will not damage the operating system. However, applications that rely on these hidden files may be less flexible. When you delete a hidden file from the home directory, you usually lose the settings of the application associated with it.
Programs that rely on the hidden file usually recreate it. However, you will start with the out-of-the-box setting, like a new user. If you have problems using your application, it can actually be a great help. It allows you to delete custom settings that may cause trouble. But if you don't, it means you need to set everything the way it used to be.
What is the specific purpose of some hidden files in the home directory?
Hidden-files-linux-3
Everyone has different hidden files in their home directory. Everyone has some. However, regardless of the application, these files have a similar purpose.
System setup
System settings include the configuration of the desktop environment and shell.
Configuration files for shell and command-line programs: specific file names will change depending on the specific shell and similar command applications you use. You will see .bashrc, .vimrc and .zshrc. These files contain any settings you have changed about the operating environment of shell, or adjustments to the settings of command-line utilities such as vim. Deleting these files returns the associated application to its default state. Considering that many Linux users have established a series of subtle adjustments and settings over the years, deleting this file can be a big headache.
User profiles: like the configuration files above, these files (usually .profile or .bash _ profile) hold the user settings for shell. This file usually contains your PATH environment variables. It also contains the alias you set. Users can also place aliases in .bashrc or other locations. The PATH environment variable controls where shell looks for executable commands. By adding or modifying PATH, you can change the location of shell's command lookup. The alias changed the name of the original command. For example, an alias might set ls-l to ll. This provides text-based shortcuts for frequently used commands. If you delete the .profile file, you can usually find the default version in the / etc/skel directory.
Desktop environment settings: any customization of your desktop environment is saved here. This includes desktop backgrounds, screen savers, shortcut keys, menu bars and taskbar icons, and anything else that users set for their desktop environment. When you delete this file, the user's environment will revert to the new user environment the next time you log in.
Apply Profil
You will find them in the .config folder of Ubuntu. These are application-specific settings. They will contain a list of preferences and settings.
Application configuration file: this includes the settings in the application * items menu, workspace configuration, and so on. What you find here depends on the application.
Web browser data: this may include bookmarks and browsing history. Most of these files are cached. This is the place where Web browsers temporarily store downloaded files, such as pictures. Deleting this content may slow down your access to certain media sites.
Caching: if the user application caches data related only to that user (such as the cache where the Spotify application stores playlists), the home directory is the default place to store that directory. These caches may contain a lot of data or just a few lines of code: depending on what the application needs. If you delete these files, the application will recreate them as needed.
Logs: some user applications may also store logs here. Depending on how the developer sets up the application, you may find log files stored in your home directory. However, this is not a common choice.
At this point, the study on "what is the role of hidden files in the Linux home directory" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.