Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jonascheng/0c18b97378b3e375542538b77c1f2ec9 to your computer and use it in GitHub Desktop.
Save jonascheng/0c18b97378b3e375542538b77c1f2ec9 to your computer and use it in GitHub Desktop.
Close a terminal without killing the command running in it
$ sleep 1000
^Z
[1]+ Stopped sleep 1000
$ bg
$ disown
$ exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment