[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to lock a terminal
From: |
Nick Warne |
Subject: |
How to lock a terminal |
Date: |
Mon, 15 Feb 2016 17:24:06 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 |
Hi Everybody,
I ma not sure if this is a bug, or if it is what causes it - if it
isn't, then it is me being stupid.
I was in a SSH session, and checking something inadvertently issued:
> nano /var/log/messages | grep a
(I was searching for something else than an 'a', but the above example
shows the issue - about to use 'nano', but then forgot to change it to
'cat').
The terminal just sits there doing nothing - CTRL+C doesn't do anything;
in a SSH session, the only option is to kill the terminal. On a local
machine, you can use kill -9 from another terminal to get out of it.
I don't know if this behaviour is expected or me being stupid, or
something else going on.
Regards,
Nick
--
Gosh that takes me back... or is it forward? That's the trouble with
time travel, you never can tell."
-- Doctor Who "Androids of Tara"
- How to lock a terminal,
Nick Warne <=