Start a detached named session with a log

Start a named session in the background and write a log. The deploy keeps going even if your SSH drops. Reattach with screen -r deploy

screen -L -Logfile /tmp/job.log -dmS deploy bash -c './deploy.sh'

tool
screen1 command
tags
screentroubleshootingobservability