Using ‘screen’ - The Absolute Essentials
blog.amir.rachum.com
blog.amir.rachum.com
Screen's development is basically dead. Tmux is under active development, and the developers are responsive and intelligent.
Tmux is sudo safe, where screen is not.
Tmux lacks screen's ability to connect to serial devices, which is used by some sysadmins and router monkeys like myself, but that's okay.
Tmux also sucks for tee-ing it's output to a log file, which screen does nicely, but this will probably be fixed some day.
screen -d -R
will reconnect to your screen session if it exists, or start a new one if it doesn't.People not yet proficient with screen should learn tmux instead.