1833762 Members
2326 Online
110063 Solutions
New Discussion

Re: shell times out

 
SOLVED
Go to solution
B Wade Moll
Frequent Advisor

shell times out

I'm working on a customer site and trying to to create a db, and the installer goes for a while then bombs out on me because my shell dies.

The customer set a feature that kills the shell when inactive after a period of time.

Where would I look to disable this feature temporarily?
2 REPLIES 2
Patrick Wallek
Honored Contributor
Solution

Re: shell times out

Look for a TMOUT environment varialbe.

echo $TMOUT

If the value is greater than 0 then that is the number of seconds that the shell will wait for a command, after which it will time out.

If you wish to disable this do either:

unset TMOUT

or

export TMOUT=0

(Note -- this is assuming the standard /usr/bin/sh or /sbin/sh shell)
B Wade Moll
Frequent Advisor

Re: shell times out

Thank you !!