Skip to content

Instantly share code, notes, and snippets.

@shanev
Last active July 22, 2021 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanev/651f291be30de982f6977fe7126629b1 to your computer and use it in GitHub Desktop.
Save shanev/651f291be30de982f6977fe7126629b1 to your computer and use it in GitHub Desktop.
tmux cheat
# start
tmux
# should see green bar at bottom
tmux list-sessions
tmux attach -t0
# detach current session
# Ctrl + b, release, then d
# run service as a poor man's daemon
tmux new-session -d -s name 'executable'
tmux attach -t name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment