Ask Your Question

Revision history [back]

I am not sure if I have understood your question correctly, after you have killed a process by issuing the command kill %pid you can check the status of the process by issuing the command jobs

I am not sure if I have understood your question correctly, after you have killed a process by issuing the command kill %pid from the terminal you can check the status of the process by issuing the command jobs

I am not sure if I have understood your question correctly, after you have killed started the vim. After a process by issuing while I stopped it using ctrl + z

if I check under jobs

[anishjp@localhost ~]$ jobs
[1]+ Stopped     vim

if i also look under ps

PID    TTY       TIME         CMD
4268  pts/0    00.00.00   bash
4823  pts/0    00.00.00   vim
4840  pts/0    00.00.00   ps

if I issue the command kill %pid from the terminal you -9 %1

[1]+ Killed     vim

if i look under ps again

PID    TTY       TIME         CMD
4268  pts/0    00.00.00   bash
4840  pts/0    00.00.00   ps

Someone can check the status of the process by issuing the command jobs

correct me if I am doing it wrong.