Article Title: shell control keys that have never been used. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
After using linux for a long time, I found several useful shell control keys that have never been used.
^ Z pause the current command
^ S pause screen output
^ Q restore screen output
^ U Delete the entire command Column
^ R starts receiving commands from the past progressively
^ W remove the last parameter from the cursor backward
Bash also supports key combinations in Emacs mode by default, as shown below:
^ A the cursor jumps to the beginning of the line and is also available
^ E the cursor jumps to the end of the row, which is also available
^ Y paste bash to delete the content in the buffer or
^ _ Undo
Meta-B Jump a word with the cursor backward
Meta-F jump a word forward with the cursor
Meta-d Kill from the cursor to the end of the current word, or, if between words, to the end of the next word.
Meta-Y Rotate the kill-ring, and yank the new top
Bash also supports custom macros
^ X (Start recording custom macros
^ X) custom macros for ending records
^ X e: execute a custom macro