Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I entered a command in terminal and had Mac OS lion execute it successfully. I simply would like to stop that execution and negate what I had the computer do. I have done the history -c command and the terminal history is gone but the command execution is still happening. Any suggestions? Thanks

share|improve this question

CtrlC is the standard "interrupt" key on – all Unix-like systems, including OS X.

However, there is no standard "undo this". Once you ran a command to do something, and it did something, it is done. How to undo it – or whether it's at all possible to undo it – depends very much on what exact command you ran.

share|improve this answer

You likely 'backgrounded' the processes,

Type jobs to see any background processes

Type fg to resume the #1 background process

Then press ctrl + c to interrupt the process.

If all else fails, run ps aux, find the process id and send it a kill 9, or just run top


Side note: top is kind of ugly, install htop

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .