Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
add this file to ~/.bashrc and when ever you will do a ssh connection / open terminal, a tmux session will automatically created/attached
if (`tmux attach -t backup`) ; then
echo "tmux attach -t backup"
echo "tmux new -s backup"
`tmux new -s backup`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment