What are some nifty things about the ampersand, &, when used in a shell?
It can be used to specify a stream file descriptor as the target of a redirection, as in when we redirect standard error to standard out: ex, 2>&1
It can delimit multiple commands to be run serially: ex, command1 & comamnd2 & command3
If placed after a command, it can be used to fork the shell, and run the command in a background process: ex, startLongLivingProcess &
If doubled-up, it becomes a boolean "AND".
If doubled-up, it can be used as a short-circuit to process consecutive commands only if the previous command completed successfully: ex, mkdir exampledir && chmod 755 exampledir && cd exampledirectlry && echo "# Example Readme" >README.MD
None of the above
Answers are hidden from search engines.