Tag Archives: “there are stopped jobs”

[Linux] the solution to the problem of “there are stopped jobs” in Linux

[Linux] the solution to the problem of “there are stopped jobs” in Linux

After executing a command with the administrator, I use Ctrl + Z to transfer the command to the background. I couldn’t quit root< input command: logout
terminal display: there are stopped jobs.

solution:
input command: jobs
terminal display: [1] + stopped VIM/etc/network/interfaces & gt/ Home/LEO/desktop/ip.txt (WD: /)

I haven’t seen the PID of the process for a long time, so I can’t kill it

continue to enter the command: jobs – L
terminal display: [1] + 4664 stop VIM/etc/network/interfaces & gt/ Home/LEO/desktop/ip.txt (WD: /)

when you see 4664, this is PID

now start killing it:
enter the command: kill 4664
the terminal is not displayed. ok。

Then check with jobs command to confirm that it has been killed