Linux added: Important Shell environment configuration files

Source: Internet
Author: User
Article Title: Linux added: An Important Shell environment configuration file. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

After a user logs on to a Linux system, the first software environment that a user usually accesses is the bash command interpreter, which is the most important software environment except the system core. In Linux, the configuration information of the software environment is usually stored in some configuration files.

The following are some important Shell environment configuration files:

/Etc/bashrc contains the command alias defined by the system and the bash environment variable definition.

/Etc/profile contains the system environment definition and specifies the programs that must be run at startup.

/Etc/inputrc contains the keyboard settings of the system and the key configuration information for different terminal programs.

$ HOME/. bashrc contains the user-defined command alias and bash environment variable definition.

$ HOME/bash_profile contains user-defined environment variables and specifies the programs to be started during user logon.

$ HOME/. inputrc contains the user's keyboard settings and key bit configuration information for the user terminal.

These files are system script files written in Shell language. Generally, the configuration files in the user directory are roughly the same as those in the/etc directory.

Related Article

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.