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
I accidentally clicked on Cmd + L
and it worked.
Looking it up here I found terminal-mac-cheatsheet.