Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?
Command chaining is a concept to execute two or more commands in one shot to increase .. productivity Reduce system resource usage(In some cases ) Short and sweet codes . In this post we will see how to use different command chaining operators available for us in an easy way. Command chaining operators & –Forking
Command chaining is a concept to execute two or more commands in one shot to increase ..
productivity
Reduce system resource usage(In some cases )
Short and sweet codes .
In this post we will see how to use different command chaining operators available for us in an easy way.
Command chaining operators
& –Forking operator(run in background parallelly )
; –Run multiple commands in one run, sequentially.
–To combine a big command for multiple lines
&& –Logical AND operator
|| –Logical OR operator
! -NOT operator(I did not find much info on this.0)
| — PIPE operator
{} –Command combination operator.
() –Precedence operator
& – Forking operator(AND operator): This operator is used to send a process/script/command to run background so that we can execute other commands in foreground to increase effective utilization of system resources and to speed up the script execution. This is also called as Child process creation or forking in other programming languages.
A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.
Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help