Both exec and source belong to the Bash Internal command (builtins commands), which is entered under bash for man exec or
Man source can view all the internal command information.
The bash shell commands fall into two categories: external commands
Insert exec proc cannot be nested solution insert exec proc cannot be nested solution from: http://tuolang2006.spaces.live.com/blog/cns! 7a975ff078b9a497! 119. entry-Wang Chenghui: repost the post. indicate the source Stored Procedure C and return a
Both exec and source belong to the Bash Internal command (builtins commands), where you can view all the internal command information by entering man exec or man source under bash.
The bash shell commands are divided into two categories: external
Summary: three methods of executing shell scripts, fork, source and exec, are summarized.
Prerequisites
1. any program we run is a child process generated by the parent process. After the child process is completed, it is returned to the parent
Differences between test, exec, and match in regular expressions and the use of parentheses, execmatch
Simple differences between test, exec, and match
1. test
Test returns a Boolean value to check whether the corresponding string contains a
start a new process (systemfunction)The system () function can start a new process.int system (const char *string)The effect of this function is equivalent to executing the SH–C string.In general, using the system function is far from the ideal way
Reference: Linux commands, editor and Shell programming, advanced Programming for UNIX environmentsBoth exec and source belong to the Bash internal command (builtins commands), where you can view all the internal command information by entering man
Three different methods (fork, exec, source) fork (/directory/script. sh) fork is the most common, that is, directly using/directory/script in the script. sh to call the script. sh script. run a sub-sh... three different methods (fork, exec, source)
The Backup Exec Remote Agent is suspended when it is started on a remote server. The System Event Log On the remote server lists event ID: 7022, which is described: the Backup Exec Remote Agent for Windows Servers service hung on starting. (Backup
Common Linux commands (19)-find exec
Find is a commonly used Linux Command, but we generally look for it not only, but also further operations. At this time, the role of exec becomes apparent.
EXec explanation:
-The exec parameter is followed by
..Statement:This blog welcome forwarding, but please keep the original author information!Blog Address: Http://blog.csdn.net/halcyonbabySina Weibo: Searching for Miracles
The content of my study, research and summary, if there is similar, it is
Find is a very common Linux command, but what we generally find out is not just to look at it, there will be further operations, this time the role of exec is revealed.EXEC explained :The-exec parameter is followed by command, which terminates with
Under the Windows platform, we can run the executable program by double-clicking, let this executable program become a process, and on the Linux platform, we can pass ./ Run, let an executable program become a process.However, if we are running a
Fork (/directory/script.sh): If the shell contains execution commands, then the subcommand does not affect the parent's commands, and then executes the parent command after the subcommands have finished executing. The children's environment
Note: The example of this article comes from the collection and collation of the network, with my comments attached. Common uses of ①i/o redirection
Symbolic meaning
cmd1 | cmd2 pipe character, the standard output of CMD1 as the
Reference: Linux commands, editor and Shell programming, advanced Programming for UNIX environmentsReferenceThe bash shell commands are divided into two categories: external commands and internal commands.
Three different methods (fork, exec, source) fork (/directory/script. sh) fork is the most common, that is, directly using/directory/script in the script. sh to call the script. sh script. run a sub-shell script to execute the call. When sub-shell
This article mainly introduces how to use PHP to start windows applications, execute bat batch processing, and execute cmd commands (exec and system functions). For more information, see
Exec or system can call the cmd command.
Directly run the
English documents:
exec
(object[, globals[, locals]])
This function supports dynamic execution of Python Code.
object must be either a string or a code Object. If It is a string, the string is
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.