You can use the
nohup command to run another command and immunize it against hangup signals. Which means you can log out of your terminal and leave the process to run.
You also have to use the
& shell operator to run this process in the background. E.g.
$ nohup myprocess &
Spent a while today trying to remember this command. I needed it to persist a one-off backup process which I needed to leave running.