Execute Multiple BASH Shell Commands

Revision as of 14:25, 1 April 2014 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to run shell commands sequentially or at the same time entered on a single line.

echo 1
sleep 5s
echo 2
echo 1; sleep 5s; echo 2
echo 1 && sleep 5s && echo 2
Last modified on 1 April 2014, at 14:25