Summary of Linux Shell shortcut operations (including shortcut keys and efficient operations ):
CTRL +: Start with the command line
CTRL + E: End of the command line
CTRL + L: Clear screen, equivalent to the clear command
CTRL + u: Cut the content before the cursor
CTRL + k: Cut the content after the cursor
CTRL + Y: Undo, similar to Ctrl + Z in office
CTRL + R: Search for histroy, automatic match, and location
CTRL + c: Terminate a running command
CTRL + d: Exit the Current Shell
CTRL + z: Transfer to the background for running
!!: Execute the previous command, sudo !! Run the previous command with sudo permission
CTRL + P: Previous command, same as the direction key
CTRL + n: Next command, same as the lower direction key
! $
: The previous command parameter. Run cat 123456789.log, and then run vim! $ You can use Vim to open 123456789.log
^ Foo ^ bar: Replace Foo in the previous command with bar and execute (this can be implemented! $, But more! $ More powerful)
To be continued...