[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: logout from interactive subshell
From: |
Com MN PG P E B Consultant 3 |
Subject: |
RE: logout from interactive subshell |
Date: |
Fri, 13 Oct 2006 08:28:10 +0200 |
> What about in your login (.bash_profile, etc) exporting a
> variable, say
> ROOT_PID=$$ and having a command/function/alias 'kill -s SIGHUP
> $ROOT_PID'? This is equivalent to killing the rlogin connection, but
> should clean up nicely if all you have are shells.
Excellent idea! Thank you for this suggestion.
Ronald
--
Ronald Fischer (phone +49-89-63676431)
mailto:mn-pg-p-e-b-consultant-3.com@siemens.com