![]() Let me briefly mention some of them here. That’s more advanced stuff and used only when the process is running in the background or by another user or in another terminal window.Īpart from that, some other commands and command line tools have their own exit commands. You can find the process ID and kill a running process in a more complicated method. You feel like you have to cancel the command, use Ctrl+C. The Ctrl+C works very well for the commands designed to keep running until interrupted. So basically, the terminal shows the Ctrl+C keystrokes as ^C. Stopping a program in the Linux terminalĭo you see the ^C? The caret (^) means Ctrl. It sends the SIGKILL signal to the running program to force quit the command. Hold the Ctrl button and press the C key at the same time. If you do not stop it, it will keep on displaying the result. This works for Ubuntu as well as any other Linux distribution. In Linux, you can use the Ctrl+C keys to stop a running program in the terminal. That’s not only unnecessary, but it is also a not good thing to do. Instead of stopping the command, he closed the entire terminal application. The other day, I found my friend could not figure out how to exit the top command. It’s amusing how the simplest of things could be complicated when you are new to something.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |