Cloudkul Support

How to run any command in the background as independent child process ?

If you want to run any command or execute any script as an independent process so that if you kill your terminal or ssh login it still remain in the execution cycle you can achieve it with the help of ‘disown’ and ‘&’ for ex-:
If I have to execute the script named as “” as independent process then the command should be execute in the following manner-:

./ & disown

In the above command ‘&’ execute it in the background and ‘disown’ make it as independent process.

Is this article is helpful?

People like and 0 people dislike.

If result is not found or irrelevant, Please contact us.

Submit your request