Unable to terminate a running program / application

Clash 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.
terminal exit application
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.
add a comment |
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.
terminal exit application
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
add a comment |
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.
terminal exit application
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
terminal exit application
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.
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
add a comment |
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
add a comment |
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.
Thank you very much - greatly appreciated. DB
– user6542
yesterday
add a comment |
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 ($)?
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
add a comment |
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.
Thank you very much - greatly appreciated. DB
– user6542
yesterday
add a comment |
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.
Thank you very much - greatly appreciated. DB
– user6542
yesterday
add a comment |
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.
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.
answered yesterday
xenoid
2,4341623
2,4341623
Thank you very much - greatly appreciated. DB
– user6542
yesterday
add a comment |
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
add a comment |
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 ($)?
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
add a comment |
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 ($)?
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
add a comment |
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 ($)?
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 ($)?
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.
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
add a comment |
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
add a comment |
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.
user6542 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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