What does Ctrl+C do in Ubuntu Terminal?

  • Ctrl+C is abort in UNIX:

    In POSIX systems, the sequence causes the active program to receive a SIGINT signal. If the program does not specify how to handle this condition, it is terminated. Typically a program which does handle a SIGINT will still terminate itself, or at least terminate the task running inside it.

  • Ctrl+V in UNIX:

    Unix interactive terminals use Control-V to mean "the next character should be treated literally" (the mnemonic here is "v is for verbatim"). This allows a user to insert a literal Control-C or Control-H or similar control characters that would otherwise be handled by the terminal.

This is in the shell and it's just defaults. When running a program, it is dependent on the program what these do!


Ctrl+C sends a terminating signal to the current process running.

To copy or paste in the terminal, press Ctrl+Shift+C or Ctrl+Shift+V.