我试图使用.screenrc在我的屏幕上获得标签,但在采购时,它说命令未找到。它在ubuntu14.04上。我安装了屏幕。我可以创建屏幕,但无法使用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
有人能让我知道如何解决这个问题吗?
您不需要源.screenrc
修改后的设置将应用于您启动的任何新屏幕会话。它们不会应用于现有的屏幕会话。