0

When I use the command clear I am able to scroll up and find previous events. Nevertheless, sometimes I prefer +K (Command-K) because it doesn't pollutes my command history (up and down arrows). However, I am not able to scroll up anymore.

Is there any way I can review previous events at these cases?

1
  • 1
    here is a similar question that might help.
    – user288918
    Feb 18, 2014 at 3:04

1 Answer 1

0

To see the history of commands made up to a point, just type history into the terminal.

According to the link that Mud provided, someone can press ^+L (Alt-L) to clear the screen without deleting the history from terminal (it is scrollable).

In the same link, there's a script someone can execute the clear command before running another command such vim or screen

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .