Disown Command Usage

Disown Command Usage

Programs in linux can be run as daemon by using &. But sometimes after the shell is closed, the process is also killed.

Here comes the usage of disown.

So when shell is closed, the process will not received the SIGHUP signal, which means they are kept alive.

For example:

./bin/kibana & disown

Reference:

[1]. https://discuss.elastic.co/t/kibana-5601-connection-refused/103641

[2]. https://en.wikipedia.org/wiki/Disown_(Unix)#:~:text=In%20the%20Unix%20shells%20ksh,if%20the%20user%20logs%20out).