Skip to main content
replaced http://superuser.com/ with https://superuser.com/
Source Link

What's different between Ctrl+Z and Ctrl+C in Unix command line?What's different between Ctrl+Z and Ctrl+C in Unix command line?

Mark has once again managed to get massive rep for a great explanation of a pair of 'simple' Linux commands.

Control+Z is used for suspending a process by sending it the signal SIGSTOP, which cannot be intercepted by the program. While Control+C is used to kill a process with the signal SIGINT, and can be intercepted by a program so it can clean its self up before exiting, or not exit at all.

What's different between Ctrl+Z and Ctrl+C in Unix command line?

Mark has once again managed to get massive rep for a great explanation of a pair of 'simple' Linux commands.

Control+Z is used for suspending a process by sending it the signal SIGSTOP, which cannot be intercepted by the program. While Control+C is used to kill a process with the signal SIGINT, and can be intercepted by a program so it can clean its self up before exiting, or not exit at all.

What's different between Ctrl+Z and Ctrl+C in Unix command line?

Mark has once again managed to get massive rep for a great explanation of a pair of 'simple' Linux commands.

Control+Z is used for suspending a process by sending it the signal SIGSTOP, which cannot be intercepted by the program. While Control+C is used to kill a process with the signal SIGINT, and can be intercepted by a program so it can clean its self up before exiting, or not exit at all.

Source Link
Ivo Flipse Mod
  • 24.8k
  • 31
  • 47

What's different between Ctrl+Z and Ctrl+C in Unix command line?

Mark has once again managed to get massive rep for a great explanation of a pair of 'simple' Linux commands.

Control+Z is used for suspending a process by sending it the signal SIGSTOP, which cannot be intercepted by the program. While Control+C is used to kill a process with the signal SIGINT, and can be intercepted by a program so it can clean its self up before exiting, or not exit at all.