← 返回命令列表

Linux command

readline 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

View readline keybindings

bind -P

Edit inputrc

vi ~/.inputrc

Set vi mode

set -o vi

Set emacs mode

set -o emacs

说明

Readline is a library providing command-line editing, history, and tab completion. It's used by bash, gdb, python, and many other programs. Configuration is via ~/.inputrc.

FAQ

What is the readline command used for?

Readline is a library providing command-line editing, history, and tab completion. It's used by bash, gdb, python, and many other programs. Configuration is via ~/.inputrc.

How do I run a basic readline example?

Run `bind -P` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

Where can I find more readline examples?

This page includes 4 examples for readline, plus related commands for nearby Linux tasks.