How to interrupt a command in foreground

   

If you started a command in foreground (not in background) and you want to interrupt it you can use this command:

CTRL + C

The above command will interrupt the previous started command and will return the shell prompt.

Related Articles

Leave a Reply