bash trick

goes in $HOME/.bashrc



# test for secure remote connection and start screen

if [ -n "$SSH_CONNECTION" ]
then
if [ -z "$STY" ]
then
screen
fi
fi


1 comments:

w00t... gonna have to try that! thx!

April 6, 2009 at 6:22 PM  

Newer Post Older Post Home