Unable to terminate a running program / application

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
-1
down vote

favorite












I am having trouble terminating applications started from the terminal - for example, I used:
cd /usr/bin and ls to determine that the gimp app is here.



I then started gimp by typing "gimp" - started successfully.



BUT, I cant stop / exit the program. There is no "$" sign from which to start (indicating that the process is running, I suppose).



I have tried: (gimp:23558): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x29DFB70 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"



kill
pwd
kill
exit
q
quit
Q
QUIT
TERM
SIGTERM



None of these work - neither would I expect them to because there is no "$" sign to begin from.










share|improve this question









New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
    – Lewis M
    yesterday










  • Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
    – user6542
    yesterday










  • I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
    – user6542
    yesterday














up vote
-1
down vote

favorite












I am having trouble terminating applications started from the terminal - for example, I used:
cd /usr/bin and ls to determine that the gimp app is here.



I then started gimp by typing "gimp" - started successfully.



BUT, I cant stop / exit the program. There is no "$" sign from which to start (indicating that the process is running, I suppose).



I have tried: (gimp:23558): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x29DFB70 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"



kill
pwd
kill
exit
q
quit
Q
QUIT
TERM
SIGTERM



None of these work - neither would I expect them to because there is no "$" sign to begin from.










share|improve this question









New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
    – Lewis M
    yesterday










  • Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
    – user6542
    yesterday










  • I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
    – user6542
    yesterday












up vote
-1
down vote

favorite









up vote
-1
down vote

favorite











I am having trouble terminating applications started from the terminal - for example, I used:
cd /usr/bin and ls to determine that the gimp app is here.



I then started gimp by typing "gimp" - started successfully.



BUT, I cant stop / exit the program. There is no "$" sign from which to start (indicating that the process is running, I suppose).



I have tried: (gimp:23558): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x29DFB70 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"



kill
pwd
kill
exit
q
quit
Q
QUIT
TERM
SIGTERM



None of these work - neither would I expect them to because there is no "$" sign to begin from.










share|improve this question









New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I am having trouble terminating applications started from the terminal - for example, I used:
cd /usr/bin and ls to determine that the gimp app is here.



I then started gimp by typing "gimp" - started successfully.



BUT, I cant stop / exit the program. There is no "$" sign from which to start (indicating that the process is running, I suppose).



I have tried: (gimp:23558): GEGL-gegl-operation.c-WARNING **: Cannot change name of operation class 0x29DFB70 from "gimp:point-layer-mode" to "gimp:anti-erase-mode"



kill
pwd
kill
exit
q
quit
Q
QUIT
TERM
SIGTERM



None of these work - neither would I expect them to because there is no "$" sign to begin from.







terminal exit application






share|improve this question









New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









Rui F Ribeiro

38.1k1475123




38.1k1475123






New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









user6542

31




31




New contributor




user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user6542 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
    – Lewis M
    yesterday










  • Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
    – user6542
    yesterday










  • I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
    – user6542
    yesterday
















  • To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
    – Lewis M
    yesterday










  • Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
    – user6542
    yesterday










  • I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
    – user6542
    yesterday















To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
– Lewis M
yesterday




To clarify, when you say you started gimp from a terminal, do you mean you ssh-ed into a computer and typed in gimp in that ssh session? Or you logged into a computer using a GUI, brought up a terminal and typed gimp in that terminal window?
– Lewis M
yesterday












Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
– user6542
yesterday




Hi - am running Ubuntu 16. I booted up into this and then opened a terminal. I then opened gimp from the terminal.
– user6542
yesterday












I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
– user6542
yesterday




I see someone down-voted my question - indicating their belief that I showed "no research effort". On the contrary - I have been trying to solve this for weeks - combing the internet and literature - no one could give the answer - coming up with very complex solutions yet, in the end, it is simple. Please note, I am 69 years old and trying to learn Linux - trust me, not easy.
– user6542
yesterday










2 Answers
2






active

oldest

votes

















up vote
0
down vote



accepted










Gimp (and others) will terminate with a Ctrl-C.



If you want to recover the command prompt, you can also use Ctrl-Z, which stops the current process (but doesn't terminate it) and returns to the shell prompt.



  • If you want the stopped process to continue running, in the background, enter bg.

  • If you want to resume the process in the foreground, enter fg

For more resilient processes, you can open another terminal (or tab) and use pkill processname, for instance pkill gimp. Note that the argument is a regex pattern (so for instance gimp could another process with gimp in its name) so use with caution. Normally no process can resist the -9 option, so use with extreme caution.



For GUI apps, there is another method: strike Alt-Ctrl-Escape: the cursor changes into a skull and bones, move it over a window of the process you want to kill and click or strike Enter to kill it. If you change your mind just hit Escape to return to the normal cursor. Also use with caution, if you click the background this will kill the desktop shell.






share|improve this answer




















  • Thank you very much - greatly appreciated. DB
    – user6542
    yesterday

















up vote
0
down vote













I'm not sure if I understand but is it a case of "ctrl+C" to terminate the current program returning you to the shell prompt ($)?






share|improve this answer








New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
    – user6542
    yesterday











  • Funny - I tried to upvote your answer but it will not accept it. Strange.
    – user6542
    yesterday










  • @user6542 you can accept this as answer fyi.
    – Debian_yadav
    yesterday










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






user6542 is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481499%2funable-to-terminate-a-running-program-application%23new-answer', 'question_page');

);

Post as a guest






























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Gimp (and others) will terminate with a Ctrl-C.



If you want to recover the command prompt, you can also use Ctrl-Z, which stops the current process (but doesn't terminate it) and returns to the shell prompt.



  • If you want the stopped process to continue running, in the background, enter bg.

  • If you want to resume the process in the foreground, enter fg

For more resilient processes, you can open another terminal (or tab) and use pkill processname, for instance pkill gimp. Note that the argument is a regex pattern (so for instance gimp could another process with gimp in its name) so use with caution. Normally no process can resist the -9 option, so use with extreme caution.



For GUI apps, there is another method: strike Alt-Ctrl-Escape: the cursor changes into a skull and bones, move it over a window of the process you want to kill and click or strike Enter to kill it. If you change your mind just hit Escape to return to the normal cursor. Also use with caution, if you click the background this will kill the desktop shell.






share|improve this answer




















  • Thank you very much - greatly appreciated. DB
    – user6542
    yesterday














up vote
0
down vote



accepted










Gimp (and others) will terminate with a Ctrl-C.



If you want to recover the command prompt, you can also use Ctrl-Z, which stops the current process (but doesn't terminate it) and returns to the shell prompt.



  • If you want the stopped process to continue running, in the background, enter bg.

  • If you want to resume the process in the foreground, enter fg

For more resilient processes, you can open another terminal (or tab) and use pkill processname, for instance pkill gimp. Note that the argument is a regex pattern (so for instance gimp could another process with gimp in its name) so use with caution. Normally no process can resist the -9 option, so use with extreme caution.



For GUI apps, there is another method: strike Alt-Ctrl-Escape: the cursor changes into a skull and bones, move it over a window of the process you want to kill and click or strike Enter to kill it. If you change your mind just hit Escape to return to the normal cursor. Also use with caution, if you click the background this will kill the desktop shell.






share|improve this answer




















  • Thank you very much - greatly appreciated. DB
    – user6542
    yesterday












up vote
0
down vote



accepted







up vote
0
down vote



accepted






Gimp (and others) will terminate with a Ctrl-C.



If you want to recover the command prompt, you can also use Ctrl-Z, which stops the current process (but doesn't terminate it) and returns to the shell prompt.



  • If you want the stopped process to continue running, in the background, enter bg.

  • If you want to resume the process in the foreground, enter fg

For more resilient processes, you can open another terminal (or tab) and use pkill processname, for instance pkill gimp. Note that the argument is a regex pattern (so for instance gimp could another process with gimp in its name) so use with caution. Normally no process can resist the -9 option, so use with extreme caution.



For GUI apps, there is another method: strike Alt-Ctrl-Escape: the cursor changes into a skull and bones, move it over a window of the process you want to kill and click or strike Enter to kill it. If you change your mind just hit Escape to return to the normal cursor. Also use with caution, if you click the background this will kill the desktop shell.






share|improve this answer












Gimp (and others) will terminate with a Ctrl-C.



If you want to recover the command prompt, you can also use Ctrl-Z, which stops the current process (but doesn't terminate it) and returns to the shell prompt.



  • If you want the stopped process to continue running, in the background, enter bg.

  • If you want to resume the process in the foreground, enter fg

For more resilient processes, you can open another terminal (or tab) and use pkill processname, for instance pkill gimp. Note that the argument is a regex pattern (so for instance gimp could another process with gimp in its name) so use with caution. Normally no process can resist the -9 option, so use with extreme caution.



For GUI apps, there is another method: strike Alt-Ctrl-Escape: the cursor changes into a skull and bones, move it over a window of the process you want to kill and click or strike Enter to kill it. If you change your mind just hit Escape to return to the normal cursor. Also use with caution, if you click the background this will kill the desktop shell.







share|improve this answer












share|improve this answer



share|improve this answer










answered yesterday









xenoid

2,4341623




2,4341623











  • Thank you very much - greatly appreciated. DB
    – user6542
    yesterday
















  • Thank you very much - greatly appreciated. DB
    – user6542
    yesterday















Thank you very much - greatly appreciated. DB
– user6542
yesterday




Thank you very much - greatly appreciated. DB
– user6542
yesterday












up vote
0
down vote













I'm not sure if I understand but is it a case of "ctrl+C" to terminate the current program returning you to the shell prompt ($)?






share|improve this answer








New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
    – user6542
    yesterday











  • Funny - I tried to upvote your answer but it will not accept it. Strange.
    – user6542
    yesterday










  • @user6542 you can accept this as answer fyi.
    – Debian_yadav
    yesterday














up vote
0
down vote













I'm not sure if I understand but is it a case of "ctrl+C" to terminate the current program returning you to the shell prompt ($)?






share|improve this answer








New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

















  • PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
    – user6542
    yesterday











  • Funny - I tried to upvote your answer but it will not accept it. Strange.
    – user6542
    yesterday










  • @user6542 you can accept this as answer fyi.
    – Debian_yadav
    yesterday












up vote
0
down vote










up vote
0
down vote









I'm not sure if I understand but is it a case of "ctrl+C" to terminate the current program returning you to the shell prompt ($)?






share|improve this answer








New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









I'm not sure if I understand but is it a case of "ctrl+C" to terminate the current program returning you to the shell prompt ($)?







share|improve this answer








New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered yesterday









Gtt

11




11




New contributor




Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Gtt is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
    – user6542
    yesterday











  • Funny - I tried to upvote your answer but it will not accept it. Strange.
    – user6542
    yesterday










  • @user6542 you can accept this as answer fyi.
    – Debian_yadav
    yesterday
















  • PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
    – user6542
    yesterday











  • Funny - I tried to upvote your answer but it will not accept it. Strange.
    – user6542
    yesterday










  • @user6542 you can accept this as answer fyi.
    – Debian_yadav
    yesterday















PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
– user6542
yesterday





PERFECT - worked perfectly! Many many thanks - most grateful for your patience!
– user6542
yesterday













Funny - I tried to upvote your answer but it will not accept it. Strange.
– user6542
yesterday




Funny - I tried to upvote your answer but it will not accept it. Strange.
– user6542
yesterday












@user6542 you can accept this as answer fyi.
– Debian_yadav
yesterday




@user6542 you can accept this as answer fyi.
– Debian_yadav
yesterday










user6542 is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















user6542 is a new contributor. Be nice, and check out our Code of Conduct.












user6542 is a new contributor. Be nice, and check out our Code of Conduct.











user6542 is a new contributor. Be nice, and check out our Code of Conduct.













 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481499%2funable-to-terminate-a-running-program-application%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)