When you execute something that you did not want to happen, the output just keeps going like crazy and you really want to stop it. For example, I enter
locate a, the command will search for everything with the letter a, which means millions. I need to interrupt and stop the execution.
Stop an execution
To interrupt whatever is going on, use
This will stop everything. Use this command wisely, you don’t want to interrupt an installation as it will mess your files and directories up.