如何清除MongoDB中的控制台 [英] How to clear console in MongoDB

查看:114
本文介绍了如何清除MongoDB中的控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用Mongodb控制台或Shell时,有时我的屏幕上混乱了很多我不需要的先前输出.那么,MongoDB中是否有清除控制台的功能?

类似于MatLab中的clear.

我尝试了clcclear,但没有成功.

解决方案

此处中查看更多的外壳热键. /p>

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?

Something like an analog of clear in MatLab.

I have tried clc, clear but with no success.

解决方案

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.

这篇关于如何清除MongoDB中的控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆