1
votes

Is there a way to clear only the last output from terminal?

I've already read How to clear previous output in Terminal in Mac OS X? but that clears the entire terminal (Cmmd + K)

I want this because say I'm done looking into something but it's taking all my screen space and I want to get rid of that, but not all the previous outputs

1
I you want to clear output which is taking all my screen space, how is that different from a way that clears the entire terminal?Armali
When it's there I have to scroll up. When it's not I don't have to.Honey

1 Answers

0
votes

I accidentally clicked on Cmd + L and it worked.

Looking it up here I found terminal-mac-cheatsheet.