Aaron Kelly's Blog

Yes there is the method of using CTRL+Z, bg, fg, jobs

But by far the best solution I have for running long-running jobs in the background is this:

nohup ./encode.sh &> log.log &

Explanation:

Benefits:

Killing a nohup job can sometimes be tricky, using kill [PID] won’t work. Instead, list the jobs that are running by typing jobs, then kill the job number by typing kill %[JOB_NUMBER]