[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash problem
From: |
Wheatley, Martin R |
Subject: |
bash problem |
Date: |
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
'fred'
It looks like the TMOUT isn't re-started after any shell input but only after a
'\n' is seen.
[cid:image002.png@01D5C172.E18A08D0]<https://www.gov.uk/government/organisations/uk-atomic-energy-authority>
Martin Wheatley
Solaris Systems Administrator (JET)
CODAS&IT
Providing services on behalf of United Kingdom Atomic Energy Authority
Culham Science Centre, Abingdon, OX14 3DB, UK
Tel. +44 1235 464784
Mob.
Email: Martin.Wheatley@ukaea.uk
[cid:image004.png@01D5C172.E18A08D0]<https://www.facebook.com/UKAEAofficial/>
[cid:image006.png@01D5C172.E18A08D0] <https://www.linkedin.com/company/867547>
[cid:image008.png@01D5C172.E18A08D0] <https://twitter.com/UKAEAofficial>
[cid:image010.png@01D5C172.E18A08D0]
<https://www.youtube.com/channel/UCyb9vG8oLE4XvZZLYpcDcFw>
[cid:image012.png@01D5C172.E18A08D0] <https://www.instagram.com/ukaeaofficial/>
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 <=