Press Ctrl+L twice and you get blank!
Judging by Jira they have done it: You need to write cls
in the shell.
You can also use a hotkey: CTRL + L.
In macOS: Command + K.
Check more hotkeys for the shell here.
If you are using MongoDB 2.0 or higher, the mongo
shell supports both:
cls
commandCtrl+l
(clear screen)Note that both of these clear the screen and put the cursor at the top .. but you can still scrollback to see previous history.
In OS X Terminal.app you can also do:
Command+K
(clear scrollback)Clearing the screen and/or scrollback buffer are independent of the history, so you can still cursor up/down to run previous commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With