Linux configuration system

Source: Internet
Author: User

To configure the schema:

Three elements:

Configuration files, environment variables, command-line options

Three levels:

System-level, user-level, program-level

Application:

Configuration information that may change when invoked, using command-line options; The configuration information that is rarely changed but should be controlled by individual users, using user profiles or user environment variables, and system configuration files or system environment variables that need to be set by the system administrator without the user changing the overall system-level configuration information.

Configuration file:

System configuration file:

/etc/<config-file>

/etc/<config-folder>/...

User profiles: typically hidden files

~/<config-file>

~/<config-folder>/...

Named:

How to add an "rc" suffix after using the executable file name

RC indicates operation control

Environment variables:

System-Level environment variables

$HOME, $USER

User-level environment variables

Command-Line options:

Original UNIX-style command-line options:

The option is a single letter that begins with the hyphen "-", and if the option is followed by a modal option, the pattern option can be combined, and if the option has parameters, the parameter should be immediately following the option.

GNU-style command-line options:

The option is followed by a two consecutive hyphen "-" after the option keyword;

X Toolkit Style command-line options:

Linux configuration system

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.