Difference between revisions of "Execute Multiple BASH Shell Commands"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(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")
(No difference)

Revision as of 14:25, 1 April 2014

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