Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Umm, why not just 'exit'?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Umm, why not just 'exit'?
Authored by: klktrk on Jan 17, '03 12:31:50PM

Am I missing something here? The proper way to exit a console or terminal session is and has always been to simply type 'exit' and hit return. The exit command saves your command history to your .tcsh_history file, so you can scroll through them at a later session, checks for running background processes and shuts down any other resources associated with your session cleanly and quickly. It does this in about a half a second. Why anybody would exit a console or terminal session any other way is beyond me.



[ Reply to This | # ]
Umm, why not just 'exit'?
Authored by: klktrk on Jan 17, '03 12:36:57PM

I ought to be spanked.



[ Reply to This | # ]
Umm, why not just 'exit'?
Authored by: bjackson on Jan 17, '03 05:35:38PM

I believe the shell traps ctrl-D and does an exit - i.e.; you're doing the same thing.

Brian



[ Reply to This | # ]