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 阅读(198) 评论(0) 收藏 举报
浙公网安备 33010602011771号