Linux – How to resume a stopped job in Linux

job-controllinuxsh

How can I resume a stopped job in Linux? I was using emacs and accidentally hit ctrl-z which blasted me back to the console. I can see it when I type 'jobs'

[*****]$ jobs
[1]+  Stopped                 emacs test_queue.cpp

Best Answer

The command fg is what you want to use. You can also give it a job number if there are more than one stopped jobs.

Related Question