I am trying to get tabs in my screen using .screenrc, but while sourcing, it says command not found. It is on ubuntu14.04. I have screen installed. I can create screen but just unable to get tabs details using screenrc.
machine:~$ cat .screenrc
caption always caption string "test caption"
hardstatus string "%{= g} %{= w}%-Lw%{=r}%n%f* %t%{-}%+LW"
machine:~$ source .screenrc
caption: command not found
hardstatus: command not found
Can someone let me know how to resolve this?
You do not need to source .screenrc
The modified settings will be applied to any new screen sessions you start. They will not be applied to existing screen sessions.