Get the App
SLTechnology News&Howtos  ›  Servers  › 

What are the commonly used shortcut keys for editing under the Linux command line

Shulou Source: shulou.com Published: 2022-06-01 18:00:42 10月03日 Update

This article mainly introduces "Linux command line editing commonly used shortcut keys what", in daily operation, I believe many people in Linux command line editing commonly used shortcut keys what problems there are doubts, Xiaobian consulted all kinds of information, sorted out simple and easy to use operation methods, hope to answer "Linux command line editing commonly used shortcut keys what" doubts help! Next, please follow the small series to learn together!

This article describes the Linux command-line editing shortcut keys, hoping to help you.

Linux command-line editing shortcuts:

history Displays a list of command histories

↑(Ctrl+p) Display previous command

Ctrl+n displays the next command.

! num Command num of the command history list

!! Execute the last command.

!? string? Execute *** command with string

Ctrl+r Then type several characters to start searching upwards for commands containing that character, continue pressing Ctrl+r to search for the last matching command

Ctrl+s is similar to Ctrl+r, except for forward retrieval.

Alt+

< 历史列表第一项 Alt+>

History list *** One item

Ctrl+f Move the cursor forward one character, equivalent to->

Ctrl+b Move the cursor backward one character, equivalent to

Tags: Commands cursors characters history screens words prompts moves places shortcuts previous mouse input text commonly used methods programs cut learn search Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology vpn MariaDB Redmi macOS