Home > OS >  What is behind the terminal command | sh
What is behind the terminal command | sh

Time:04-13

 $curl https://sh.rustup.rs | sh 

Excuse me behind with a | sh is what mean??
I see there is with & amp; & XXX, such as

CodePudding user response:

| is pipeline, will be in front of the output of the command as the command input
& & The previous command execution success, to perform & amp; & The command; Front command execution failure, & amp; & Does not perform behind
| | and & amp; & On the contrary, failed to perform in front of, to execute
  • Related