Skip to content

Instantly share code, notes, and snippets.

@lucasmezencio
Created March 13, 2012 17:34
Show Gist options
  • Save lucasmezencio/2030094 to your computer and use it in GitHub Desktop.
Save lucasmezencio/2030094 to your computer and use it in GitHub Desktop.
Using screen for background commands
# Create the screen session
screen -dR some_screen_name
# Use ctrl+a, d to detatch the session from screen
# To view the screen session, use:
screen -ls
# To came back the screen session, use:
screen -r some_screen_name
# If you have only one screen session, you can use just:
screen -r
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment