How to clear the scrollback in the screen command?

后端 未结 7 911
陌清茗
陌清茗 2021-02-01 02:59

I use the screen command for command-line multitasking in Linux and I set my scrollback buffer length to a very large value. Is there a key combination to clear the

7条回答
  •  抹茶落季
    2021-02-01 03:55

    • C-a C will clear the screen, including the prompt
    • clear (command, not key combination) will clear the screen, leaving a prompt

    ETA: misread the original question; these will just clear the visible text, but will not clear the buffer!

提交回复
热议问题