bash history
Bash history
recall
!1 => to recall/execute the first item in the history
search
ctrl-r => reverse incremental history search mode Enter => immediately reall and execute the command ctrl-j or Escape => retrieve the command, but alow you to continue edition ctrl-g or ctrl-c => cancel
filter what gets stored in the command history
export HISTIGNORE="&:ls:[bf]g:exit"
Post by: Jalen Wang (转载请注明出处)
posted on 2012-12-21 16:41 Jalen Wang 阅读(193) 评论(0) 编辑 收藏 举报