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
|
|
|
The command |
|||||
|
|
The general job control commands in Linux are:
That's pretty much all of them. Note the % infront of the job number in the kill commands - this is what tells kill you're talking about jobs and not processes. |
|||||||||||||
|
|
Just to add to the other answers, bash lets you skip the For example, these are equivalent and resume the latest job:
These resume job #4:
|
|||
|
|