Bash - Text Editing

> Procedural Languages > Bash Shell and (Unix|Linux) Utilities (XCU) > Bash - Text Editing

1 - About

By default, the line editing commands are similar to those of Emacs. A vi-style line editing interface is also available.

Manipulating the text as you type it in.

See:

3 - Management

3.1 - Enable

Command line editing is enabled by default when using:

Line editing can be enabled at any time using:

  • the -o emacs
  • or -o vi options

to the set builtin command

Advertising

3.2 - Disable

Line editing can be disabled using the +o emacs or +o vi options to set.

3.3 - Configuration

4 - Library

Command line editing is provided by the Readline library, which is used by several different programs, including Bash.

5 - Documentation / Reference