Interesting. Checked man clear. There's the history of clear command. One of the options might be useful in some scripts - printf '\033[2J' - it is also some type of clear command as it is. It clears all output above the current cursor position and itself (printf '\033[2J') of course, but cursor moves just one line down. Check it out - it is in man page also. )
I'm way too forgetful for ctrl-L, I've had to scroll up after clearing so many times. I mean I know there's history too but scrolling up is easier on a desktop.
One thing that is interesting whit CRTL + L is that you can use it even when the current line is not empty.
That's a really good tip, thanks for sharing it.
Interesting. Checked man clear. There's the history of clear command. One of the options might be useful in some scripts - printf '\033[2J' - it is also some type of clear command as it is. It clears all output above the current cursor position and itself (printf '\033[2J') of course, but cursor moves just one line down. Check it out - it is in man page also. )
Great that you've covered this. I keep using CTRL+L since I found out about it. Subscribed.
No problem, happy to have helped. Thanks for the sub!
I’m a hot key fan, so thanks very much ❗️🤓
I'm way too forgetful for ctrl-L, I've had to scroll up after clearing so many times. I mean I know there's history too but scrolling up is easier on a desktop.