当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 7 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-01-25 23:57 
头像

注册: 2012-09-23 13:19
帖子: 164
系统: ubuntu 12.04
送出感谢: 28
接收感谢: 0 次
如题,
每次想找历史命令都只能一个个向上找,不能只找有固定开头的命令,效率太低。。而!XX 去执行以XX开头的命令好像只能找最近的一个,感觉也不是很好。
本人菜鸟,不知道是因为我还是12.04的原因还是所有ubuntu都这样 还是我不了解使用技巧。。。求指点~


页首
 用户资料  
 
2 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-01-27 17:19 
头像

注册: 2008-09-18 13:11
帖子: 2781
送出感谢: 1
接收感谢: 453
这是bash的功能。详情见
http://zengrong.net/wp-content/uploads/ ... istory.pdf
默认是emacs模式,你可以只看第一页讲ctrl+r的那部分



_________________
评价: 3.7% asean
 
页首
 用户资料  
 
3 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-01-27 21:16 
头像

注册: 2012-09-23 13:19
帖子: 164
系统: ubuntu 12.04
送出感谢: 28
接收感谢: 0 次
astolia 写道:
这是bash的功能。详情见
http://zengrong.net/wp-content/uploads/ ... istory.pdf
默认是emacs模式,你可以只看第一页讲ctrl+r的那部分


多谢大婶,确实可以ctrl+r来回溯特定命令~~
但是还是略有怨念ubuntuj居然不像fedora或者matlab命令那样便捷= =


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-02-10 17:28 

注册: 2010-03-03 0:20
帖子: 12
送出感谢: 0 次
接收感谢: 0 次
额..
我马上实验了下:可以用 ls 方向键

用的是zsh


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-02-10 18:02 

注册: 2009-08-04 16:33
帖子: 16886
送出感谢: 21
接收感谢: 1826
不知道 這個對你有幫助嗎
終端機 / 求助 / 內容 / GNOME Terminal Manual / Preferences / Scrolling
Scrollbar is
Use this drop-down list to specify the position of the scrollbar on the terminal window.
Scrollback ... lines
Use this spin box to specify the number of lines that you can scroll back using the scrollbar. For example, if you specify 100 you can scroll back the last 100 lines displayed in the terminal. Select the Unlimited option to remove the limit on the number of lines you can scroll back using the scrollbar.
Scroll on output
Select this option to enable you to scroll the output on the terminal while the terminal continues to display more output from a command.
Scroll on keystroke
Select this option to enable you to press any key on the keyboard to scroll down the terminal window to the command prompt. This action only applies if you scrolled up the terminal window and you want to return to the command prompt.


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-02-12 14:08 
头像

注册: 2012-09-23 13:19
帖子: 164
系统: ubuntu 12.04
送出感谢: 28
接收感谢: 0 次
royaso 写道:
额..
我马上实验了下:可以用 ls 方向键

用的是zsh

啊可惜我没有精力再换来换去了,就用bash到底了
啊啊啊啊啊依然怨念ubuntu这稀烂的ctrl+r,,,


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ubuntu hisotry怎么像别的那样输入命令开头部分然后pageup遍历补全?
帖子发表于 : 2015-02-12 14:32 
头像

注册: 2012-09-23 13:19
帖子: 164
系统: ubuntu 12.04
送出感谢: 28
接收感谢: 0 次
poloshiao 写道:
不知道 這個對你有幫助嗎
終端機 / 求助 / 內容 / GNOME Terminal Manual / Preferences / Scrolling
Scrollbar is
Use this drop-down list to specify the position of the scrollbar on the terminal window.
Scrollback ... lines
Use this spin box to specify the number of lines that you can scroll back using the scrollbar. For example, if you specify 100 you can scroll back the last 100 lines displayed in the terminal. Select the Unlimited option to remove the limit on the number of lines you can scroll back using the scrollbar.
Scroll on output
Select this option to enable you to scroll the output on the terminal while the terminal continues to display more output from a command.
Scroll on keystroke
Select this option to enable you to press any key on the keyboard to scroll down the terminal window to the command prompt. This action only applies if you scrolled up the terminal window and you want to return to the command prompt.


大哥,我英文不大好,你是不是回错了= =


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 7 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译