I want to run 2 commands (command1 and command2) in the same line, where command1 starts a background process and command2 starts a frontground process.
I tried:
command1 & ; command2
But it says: "-bash: syntax error near unexpected token `;'"
How could I run the 2 commands in the same line?