[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Wheatley, Martin R
Thu, 2 Jan 2020 13:45:24 +0000
It appears that there may be an issue when bash terminates a shell as a result
of TMOUT expiring.
I was attempting to enter "dc_command show media | grep YD" to the shell and
this is the terminal output...
OLDuser@hostname $ dc_command show mediatimed out waiting for input: auto-logout
NEWuser@hostname $ | grep YD
-bash: syntax error near unexpected token `|'
If the command line had been something like " cd fred && rm -rf *"
and the TMOUT had expired just after the '&&' had been entered then the "rm-rf
*" would have been executed in the `cwd` of the parent process rather than in
It looks like the TMOUT isn't re-started after any shell input but only after a
'\n' is seen.
Solaris Systems Administrator (JET)
Providing services on behalf of United Kingdom Atomic Energy Authority
Culham Science Centre, Abingdon, OX14 3DB, UK
Tel. +44 1235 464784
The content of this email is confidential and intended for the recipient
specified in the message only. It is forbidden to share any part of this
message with any third party, without the written consent of the sender. If you
received this message by mistake, please reply to this message and then delete
it, so that we can ensure it does not occur in the future.
- bash problem,
Wheatley, Martin R <=