When a program/process is started in bash WITHOUT nohup
, is it later possible(do something further) to let this program run even after the shell/terminal is closed.
Here is a great discussion on Difference between nohup, disown and & if any one is interested in refering.
In this question i want to share my observation about when a program is started without nohup.
Edit - Please ignore the orginal Q.
Yes after disown
ing the process, killing the terminal/shell does not seem to matter. The process seems to run. With ps -ef | grep java
I am able to see the process running even after the original terminal is closed.
ps
output before and after disown. Give me few mins, am caught with something else at this moment. ++1 – samshers Dec 27 '21 at 15:57ps ef | grep java
which seems to be incorrect in this case. Withps -ef | grep java
i am able to view the java process. Quite silly. If you are fine to delete the A. I will be glad to delete the Q. your take. – samshers Dec 27 '21 at 16:07