The ultimate Linux screen tip

Ok maybe all my blog titles about Linux screen tool seem exaggerated but I cannot stress enough how this tool boosts my productivity! One of my biggest tips is the follow.

Paste the following code in your $HOME/.screenrc file (create it if it does not exist):

shell -${SHELL}
defscrollback 4096
startup_message off
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
bind ' ' windowlist -b
bind b eval "writebuf" "exec sh -c 'pbcopy < /tmp/screen-exchange'"

To give you an idea, this is what a typical screen session looks to me:

Sometimes I go hardcore mode and insert screens within screen sessions...but more on that in another article..

No comments: