I would like to execute multiple commands in bash, but have some of them executed in the background. The best way to explain this is using the following command which does not work...
for@barpc:~> (sleep 30;command1;command2 param ) & ; anotherCommand
I guess this could be taken as two questions:
- How to terminate the & in a command?
- What would be a better way of going about this?
Other details if they matter:
- Opensuse 13.2
- gnome-shell