I got 2 commands that run blocking the input in the console, so they must be ended with CTRL+C. I don't like running them in background, since I lost control for interruption. But otherwise I cannot execute them sequentially in a one-liner since first command waits for termination before next starts.
There must be a trick for this in unix. What I try is something like:
$ fg-wrapper infinite-cmd1 & infinite-cmd2 Executing cmd1 in bg Executing cmd2 in bg (Waiting for CTRL+C to end both)
I am searching for a oneliner, not an script: fg-wrapper is the built in posix command I would dream of provided as an example (I would like not having to script it)