Is it possible for bash commands to continue before the result of the previous command?

Posted by corydoras on Stack Overflow See other posts from Stack Overflow or by corydoras
Published on 2010-03-07T23:10:29Z Indexed on 2010/03/07 23:11 UTC
Read the original article Hit count: 223

Filed under:

When running commands from a bash script, does bash always wait for the previous command to complete, or does it just start the command then go on to the next one?

ie: If you run the following two commands from a bash script is it possible for things to fail?

cp /tmp/a /tmp/b
cp /tmp/b /tmp/c

© Stack Overflow or respective owner

Related posts about bash