Running commands in series

The semicolon is interpreted by the shell as a command separator. So we can type multiple commands separated by semicolons on a line and the shell will execute them serially in the order we typed the commands. For example,

sleep 300; echo "Tea is ready"

the above command will output the string “Tea is ready” after 300 seconds (5 minutes).