Re:From Linux to OSX - 1 Year Later
by pooriaazimi on Sunday September 09, 2012 @06:59PM
(#4497365)
You're right. It didn't kill the session, it killed the process (Nutch (a search engine) was at its last stages of computing PageRank for tens of thousands of pages, which takes quite a while).
But control-c should not kill your session, only the currently running process. Control-d is what kills sessions. If you have no current foreground process the shell just starts a new input line. Still could be real bad obviously if a process is killed.