How to restart some progress which is stopped by "ctrl+z"?

YOung picture YOung · Oct 28, 2014 · Viewed 20.4k times · Source

When I am using

postgres -D /usr/local/pgsql/data 

to start the postgresql progress, I send a ctrl+z signal to stop it.
And now when I used createuser and psql, it has no response.

what can I do?

Answer

triggerNZ picture triggerNZ · Oct 28, 2014

Type fg in your shell. This will resume your process