re: How to keep a process running even after closing SSH connection? VIEW POST


I do:

screen -d -m $script
multitail $log1 -I $log2 -I $log3 -I $log4

My script writes everything to those logs as it works, and I get what essentially would be the output of the script as it's working. That way any CTRL+C or disconnect just quits the viewing, and not my script.


That's super cool! Thanks for sharing!

code of conduct - report abuse