Bash history commands

Bash automatically record with a functional command to automatically record .bash_history hidden file. Also you may need to be called directly history of command in the next

centos some parameters may be defined by the file / etc / profile in,

Invoke the command method:

1. Scroll down key

2. Enter `! String` call history command

  For example:! Vim to call the last time the Open command file

      ! N order to accurately locate

3. Open the search function through the ctrl + r shortcut key, enter a keyword, press esc to exit

 

Guess you like

Origin www.cnblogs.com/icase/p/11093866.html