xuejinrui

导航

2017年11月1日 #

linux下用ctrl+r快速搜索history命令

摘要: 前提是,搜索已经使用的命令,否则是查不出来结果的。 ctrl+r用途:反向搜索执行过的命令。(reverse-i-search) 1、任何目录下按住ctrl + r 2、输入历史命令中的字符串 ,比如 输入shut 会检索出结果 shutdown.sh 3、回车就能执行命令。 参考链接 http:/ 阅读全文

posted @ 2017-11-01 18:29 xuejinrui 阅读(3810) 评论(0) 推荐(0) 编辑