$ alias screenr='screen -r $(screen -ls | egrep -o -e '[0-9]+' | head -n 1)'

commandlinefu.com

by David Winterbottom (codeinthehole.com)



Tags: