Created
November 6, 2008 09:50
-
-
Save bjeanes/22554 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Oh. My. God. Love. | |
alias my_server='screen -R -d -m -S my_server ssh my_user@my.server' | |
# With aliases like this in my .bashrc I can just type `my_server` into any terminal and be presented | |
# with that server connection. With enough aliases like this it means that from any terminal, I can just | |
# type `my_server` again and it will disconnect that session from the other window and into my current one. | |
# screen(1) kicks. ass. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment