Execute Multiple BASH Shell Commands

From Free Knowledge Base- The DUCK Project
Revision as of 12:25, 1 April 2014 by Admin (talk | contribs) (Created page with "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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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