Skip to content

Instantly share code, notes, and snippets.

@berikv
Last active November 10, 2018 16:34
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 berikv/49940f403071a5d64e23d4da0c6e6ea6 to your computer and use it in GitHub Desktop.
Save berikv/49940f403071a5d64e23d4da0c6e6ea6 to your computer and use it in GitHub Desktop.
Exit current program

Mac-os app

⌘-q

Vim

:wq

screen

ctrl-a ctrl-d (detach)
ctrl-a ctrl-\ (kill)

ssh

<enter> ~ .

bash / cat

ctrl-d

Most command line programs

ctrl-c

If that doesn't work, try:
ctrl-z (bring current program to background)
kill %% (kill program in background)

Make monitor

ctrl-[

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment