touch a file : touch ~/.screenrc
and add the content as below
termcapinfo xterm|xterms|xs|rxvt ti@:te@
term xterm
defutf8 on
defflow off
vbell off
startup_message off
defscrollback 2048
hardstatus on
#hardstatus alwayslastline
#hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "
hardstatus alwayslastline "%{= wk} %{by} %H %{wk} | %-Lw%{kw} %{= g}%n%f* %t%{wk} %{wk}%+Lw%< %= %{kw} %{= R} [%m/%d %c] %{-}"