loading...

Discussion on: How to keep a process running even after closing SSH connection?

Collapse
loki profile image
Loki Le DEV

There is also the nohup command

Collapse
loki profile image
Loki Le DEV

Just be careful because by default it opens a nohup.out file and appends all output of the process you launched into this file. It can grow a lot.

Collapse
bayindirh profile image
Hakan Bayındır

If you're afraid of filling your disk, just toss the output to /dev/null during the command invocation ;)

Collapse
email2vimalraj profile image
Vimalraj Selvam

I highly recommend this command, we use this on daily basis instead of 3rd party tools.

Collapse
drewmullen profile image
drewmullen

This is my go-to

nohup command ... &

Collapse
bobbyiliev profile image
Bobby Iliev Author

Thanks for sharing Loik! I’ll definitely check it out!

Collapse
krishnanunnir profile image
Krishnanunni R

If I may ask how do you handle killing the process?