Sep 26, 2018

[HDGEM] How to bring a background process to foreground on Linux

type fg to bring the last process back to foreground.
If you have more than one process running in the background, do this:
$ jobs
[1]-  Running                 chromium-browser &
[2]+  Running                 terminator &

fg %2 to send the terminator process back to foreground.
To suspend the process running in the background, use:
kill -19 %job_id.
the -19 signal is SIGSTOP (the signal sent by Ctrl+Z) .
example: kill -19 %3.