Linux uses the source command method

  

In Linux systems, the source command usually uses “. & rdquo; Instead, is a point command, and the general order is different, the following small series will introduce you to the use of the source command in Linux.

Usage:

source filename or. Filename

The source command is a built-in command of the bash shell. It comes from the C shell.

Another way to write the source command is to use the dot notation. The usage is the same as the source, from the Bourne Shell. >

The source command forces a script to immediately affect the current environment.

The source command enforces all commands in the script, ignoring file permissions

The source command is typically used Re-execute the initialization file just modified. Bash_profile, etc.

The source command can affect the parent shell environment in which the script is executed, and export can only affect the environment of its child shell.

When executing android mm and other related commands, you need to execute the following command < Br>

source build/envsetup.sh or. Build/envsetup.sh

The above is the usage of the source command in Linux. It can be replaced with a dot symbol when using it. Through the detailed introduction of this article, you have a certain understanding of the source command in detail.

Copyright © Windows knowledge All Rights Reserved