Howto stop or terminate Linux command process with CTRL + C
Q. Sometime I type command and accidentally hit the [ENTER] key and immeditly realized that it was wrong command. How do I stop process assuming that process is not going in background? For example
cp /path/* /wrong/path
Stop or terminate Linux command process with CTRL + C
A. To stop process hit CTRL + C, for example, you entered:
$ cp -r /path/* /wrong/path
To stop the command hit CTRL+C and retype the command:
$ cp -r /path/* /correct/path
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Killing processes in UNIX
- Linux find out what process are eating all memory and time allocated to process
- Kill process in Linux or terminate a process in UNIX or Linux systems
- Show all running processes in Linux
- Linux / UNIX: Find out or determine if process pid is running
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: ctrl_c, Linux, linux_command, UNIX



Recent Comments
Today ~ 1 Comment
Today ~ 2 Comments
Yesterday ~ 9 Comments
Yesterday ~ 32 Comments
07/04/2008 07:04 pm (2 days ago) ~ 1 Comment