Linux is for everybody. Lets enjoy it.
This is particularly useful in a situation where your ssh connection always get disconnected, and you have no privilege to tweak the ssh server settings to avoid that.
echo "screen -R" >> ~/.bash_profile; source ~/.bash_profile
echo "if $(screen -ls | grep -q pts); then screen -x; else screen -R; fi" >> ~/.bash_profile; source ~/.bash_profile
Post a Comment
Subscribe in a reader