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


Click here to return to the 'Prevent accidental terminal logouts in the bash shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Prevent accidental terminal logouts in the bash shell
Authored by: mervTormel on May 01, '03 02:35:52PM

~/.bashrc:

IGNOREEOF=1 # number of extra consecutive eof's to exit a shell

so, IGNOREEOF+1 consecutive ^D's will logout the shell



[ Reply to This | # ]