run multiple command in shell code example
Example 1: how to run two commands in linux
ls ; pwd ; whoami
Example 2: ubuntu run multiple commands in one line and let them run after close shell
# Sequential
(myCommand1; myCommand2) &
# or
(myCommand1 &) && (myCommand2 &)
# Parallel
myCommand1 & myCommand2 &