Earlier quoted context omitted.
$ mkdir /tmp/foo && cd /tmp/foo && touch bar.txt
Yes. Always chain sequential commands with &&. Always. This style is pretty prevalent when writing test cases in shell (or just shell scripts in general), e.g. when using something like sharness[1]. [1] https://github.com/mlafeldt/sharness
http://www.gnu.org/software/bash/manual/bashref.html#index-s...