linux:general_bash-ery

This is an old revision of the document!


General Bash-ery

Use Ctrl-r to reverse search command history and Ctrl+s to forward search

stty -ixon # enabled forward search with Ctrl+s by disabling XON/XOFF flow control
  • export EDITOR=/bin/vi to make vi the default editor
  • Ctrl+x+e to edit current command in default text editor.
    • Opens the current command line in the default editor. For vi you can exit with :cq to cancel the command.
    • fc, fixed command opens the last command in the editor
  • linux/general_bash-ery.1672254214.txt.gz
  • Last modified: 2022/12/28 19:03
  • by mgupton