How to clear console in MongoDB

前端 未结 2 1305
旧巷少年郎
旧巷少年郎 2020-12-25 09:05

While using Mongodb console or shell sometimes my screen is cluttered with a lot of previous output which I do not need. So, is there a function to clear console in MongoDB?

2条回答
  •  感情败类
    2020-12-25 09:45

    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.

提交回复
热议问题