Skip to content

Instantly share code, notes, and snippets.

@millsoft
Created October 28, 2019 11:01
Show Gist options
  • Save millsoft/c8694508363ddfd593b349bd465dcbd4 to your computer and use it in GitHub Desktop.
Save millsoft/c8694508363ddfd593b349bd465dcbd4 to your computer and use it in GitHub Desktop.
Execute a sh script inside screen in detached mode
# this command will execute a long running script inside a screen session
screen -d -m -t jenkins_tunnel sh /root/scripts/global/network/jenkins_tunnel.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment