How do I kill background jobs in Linux?

How do I kill background jobs in Linux?
Answer
EDIT: Once in the foreground, you can Ctrl + C , or as @Zelda mentions, kill with the ‘%x’ where ‘x’ is the job number will send the default signal (most likely SIGTERM in the case of Linux). just type fg to bring it to the foreground, if it was the last process you backgrounded (with ‘&’).
 

Tìm kiếm

Back
Top