Would someone explain if & why
disown is necessary if you wish to keep a job running even after you disconnect.
I ask because every site I have visited says to use
bg on its own is working for me and I'm not sure why.
Is it because I haven't fully understood what
disown is for or are there some settings somewhere that are affecting the default behavior of the
Here's what I did:
- Connected to my CentOS 6 box via SSH
Created a simple process:
tar zcvf example.tar.gz ./examplepath > /dev/null 2>&1
Suspended the job
- Resumed it in background via
- Disconnected from SSH server
I then checked via FTP to see if the
.tar.gz file was still growing in size and it was.