命令历史的Cygwin快捷方式 [英] Cygwin shortcut for command history

查看:431
本文介绍了命令历史的Cygwin快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我如何在cygwin中搜索命令历史?

How can I search the command history in cygwin?

我不想继续按箭头键从控制台命令历史执行命令。 p>

I don't want to keep pressing the arrow keys to execute a command from console command history.

推荐答案

如果您使用的是默认编辑模式,请按ctrl + R搜索您的历史记录。

If you are using the default editing mode, do ctrl+R to search back through your history.

如果你已经设置了-o vi来使用vi编辑模式,那么它是esc - /

If you have done set -o vi to use vi editing mode, then it is esc-/

这篇关于命令历史的Cygwin快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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