Skip to content

Instantly share code, notes, and snippets.

@jmigueldelgado
Last active November 26, 2020 11:08
Show Gist options
  • Save jmigueldelgado/1e28393191982609de1048af06782b2a to your computer and use it in GitHub Desktop.
Save jmigueldelgado/1e28393191982609de1048af06782b2a to your computer and use it in GitHub Desktop.
nohup: run background bash script
### saving output to log file
nohup /path/to/your/script.sh > /path/to/your/log.file 2>&1 &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment