0

How do I clear the screen command history scroll-back? For instance, delete this -> ctrl-a : at "#" stuff "something.dumb"

I'm not talking about BASH history either.

Things I have tried->

  • history -c won't work.
  • scrolling up and trying to delete it won't work.
2
  • 3
    Please make it more explicit in your question (if I correctly assume by the tags) that you are inside the utility named "screen" and your question refers to this particular utility's command history. Your question sounds like "screen" is just a generic word you use meaning "window" or "display".
    – egmont
    Sep 13 '18 at 19:02
  • Have you tried C-a = (removebuf) Removes the file used by C-a < and C-a > Sep 13 '18 at 23:30
0

I've this solution(?):

$ printf "\n%.0s" {1..100000}

PS: bigger upper bound is safer!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.