How do you kill a job in unix?



How do you kill a job in unix?..

Answer / Sneha Rani Masih

To kill a job in Unix, use the `kill` command followed by the process ID (PID) of the running job. For example, if the PID is 12345, run `kill 12345`. If the job runs in the background and you don't know its PID, use the `ps` command to list all running processes and find the relevant process.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix General Interview Questions

"ls" command is showing all the subdirectoary and files which are present in the current directoary, i want to cut only directoary name. How to cut only name ?

2 Answers   Cap Gemini,


Explain what are links and symbolic links in unix file system?

1 Answers  


What are the advantages of unix?

1 Answers  


How to find the path in unix?

1 Answers  


What is wild-card interpretation?

1 Answers  


i have one column with data smith john michale the o/p should be smith,john,michale how we do in unix

6 Answers   Wipro,


What are the criteria for choosing a process for swapping out of the memory to the swap device?

1 Answers  


What is Thread dump in unix?

1 Answers  


Is unix free to use?

1 Answers  


What a pipe?

1 Answers  


How do I delete files older than 2 days unix?

1 Answers  


Write a shell script that requests the user's age and then echoes it, along with some suitable comment.

1 Answers  


Categories