Have you ever accidentally suspended or stopped a process in your shell? In UNIX, Linux, and Mac OSX it is easy enough to do. An accidental hit to
CTRL-z will suspend a program, returning a message like this:
The message above says that the process that was stopped is named "top". What it means is that the process still exists, but is in an suspended state where it is not actively doing anything. If you try to exit your shell session, you will get a message saying something like
zsh: you have suspended jobs. and you will not be able to log out.
The easiest way to restart after this is to type the command
That will start the last stopped program. You can optionally supply a name to
fg. We stopped "top" above. We can restart it like this:
That will restart "top" even if it wasn't the last process stopped.