How do I view the Linux home directory hidden files?

Source: Internet
Author: User

Linux system, how do I see a lot of hidden files and folders, in addition to storing a lot of visible files and folders? What's the use of these hidden files?

View Linux home directory hidden files can be implemented by running Ls–a, for hidden files, do not recommend changes and deletions, because the home directory of hidden files and directories including user program Access to settings and data, which is hidden, a large part of the cause of fear of user error operation, Deleting and modifying a hidden file is likely to lose the settings of the application associated with it, and programs that rely on the hidden file will typically recreate it, but it will restore the factory settings and the previously stored data is erased.

Common hidden files can be categorized in the following categories:

1. Shell and command-line program configuration files

depending on the application used for the specific shell and similar commands, the specific file name changes,. BASHRC,. VIMRC, and . ZSHRC contain changes to the Any settings for the shell 's operating environment, or adjustments to the settings of the command line using the tools such as VIM, deleting these files will return the associated application to its default state.

2. User Configuration Files

user profiles are usually . Profile or . Bash_profile, which keeps the shell 's user settings, which typically contain the PATH environment variable and alias, The path environment variable controls the location where the shell looks for executable commands, and by adding or modifying the path, you can change the command lookup location for the shell, and the alias changes the name of the original command if it is deleted. profile file, you can usually find the default version in the/etc/skel directory.

3. Desktop environment settings

Files in the home directory save any customizations to the desktop environment, including desktop backgrounds, screen savers, shortcut keys, menu bar and taskbar icons, and any other content 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.

4. application configuration file

The application's configuration file can be Found in the. config of Ubuntu , primarily for settings in the Application Preferences menu, workspace configuration, and so on.

5. Web Browser Data

Web browser data files can also be found in the Ubuntu. config file, which is mostly cached, including bookmarks, browsing history, temporary storage of downloaded files or pictures in the Web browser, etc. Deleting these content may slow down the first time you visit some media sites.

6. Caching

The cache file can also be Found in the . config of Ubuntu , if the user application caches data that is only relevant to that user, the home directory is the default location to store the directory, which may contain a large amount of data or contain only a few lines of code, depending on what the application needs. If you delete these files, the application re-creates them as needed.

7. Log

log files are also available in the Found in the. config of Ubuntu, the stored log files may be found in the home directory, depending on how the developer sets up the application, however, this is not a common choice.

Linux home directory hidden files are usually used to store user settings, including command-line programs and GUI -based application settings, delete them, meaning that deleting user settings, generally do not cause the program to be destroyed, but will have a certain impact on the user's use, reduce efficiency , it is generally not recommended to operate!


How do I view the Linux home directory hidden files?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.