Copyright 2002,2003 A.P. Lawrence
False
The TMOUT variable sets an inactivity timer at the command prompt level; it doesn't affect user input.
We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.
Fri Sep 2 07:21:24 2011 why? BlackDragon
The newer shells in the sh family (e.g., ksh and bash) provide a timeout
variable, TMOUT, that can be used to end idle sessions. If TMOUT is set
to any value greater than 0, the shell will end after a prescribed number
of seconds have passed without command activity.
Two of the most popular shells, ksh and bash, provide the TMOUT
variable, but process the TMOUT limit a bit differently. Bash counts down
and exits the shell after $TMOUT seconds. Ksh, on the other hand, counts
down $TMOUT seconds, warns the user about the impending timeout and then
waits an additional 60 seconds before exiting the shell.
Add your comments