the linux ctrl + c, ctrl + z, ctrl + d distinction

A, ctrl-c

  Send SIGINT signal (program termination (interrupt) signal) to all processes in the foreground process group.
  Often used to terminate the running program.

二、ctrl-z

  Send SIGTSTP signal (stop the process of running, but the signal can be processed and ignored)
  to all processes in the foreground process group, commonly used to suspend a process.
  If you need to revert to the foreground input fg, bg restored to the background input

Three, ctrl + d

  Instead of sending the signal, but rather a particular binary value indicates EOF.
  EOF is a computer term, is the abbreviation for End Of File, usually indicates the end of the existence of this information at the last character of the text.

Guess you like

Origin www.cnblogs.com/jintaoblogs/p/11343623.html