×

Loading...

Topic

This topic has been archived. It cannot be replied.
  • 工作学习 / IT技术讨论 / 请问在UNIX中怎么设置命令缓冲区。以便用上箭头依次找出上一条键入的命令。多谢!
    • install bash
    • for borne again shell, korn shell only: 1. touch $HOME/.sh_history 2. export HISTFILE=$HOME/.sh_history 3. export HISTSIZE=1000 4. set -o vi
      • Korn shell on Solaris is weird, you have to setup some kind of keyboard mapping to make the arrow work.