<ctrl-l> empty screen, equivalent to clear
tab matches the command complete, auto completion path/Command Yes
<ctrl+e> cursor jumps to the end of the command
<ctrl+a> cursor jumps to command start
<CTRL+B>: The cursor moves left one letter (feeling faster than pressing the arrow keys)
<CTRL+F>: Move the cursor Right one letter
<ctrl+t>: Swap two characters before the cursor position (in the wrong order)
<CTRL+H>: Delete the previous character of the cursor, same as the <backspace> key (not very significant)
<ctrl+w>: Remove a word before the cursor
<ctrl+u>: Clear All content before the cursor to the beginning of the line "can be used to delete entire lines of the entered command"
<ctrl+k>: Clears the contents of the cursor to the end of the line
<CTRL+Y>: Restore the last Delete
The up and down keys to view previously executed commands or
<ctrl+p> Previous Command
<ctrl+n> after a command
<ctrl+r>: Match the history command to search for previously played commands. there will be a hint to search for the key words you entered Bash's history when you find a command that is not the one you want, you can continue to press CTRL + R to find the next matching command
<ctrl-c> interrupts the current command and returns to the shell. "Terminate current Process"
<ctrl-d> interrupts the current communication or exits the "exit shell" from the file
<ctrl-z> suspend the current process BG background run, FG to the foreground (accustomed to BG,FG operation, greatly improved efficiency)
PS:the FG and BG commands provided by Linux allow us to easily schedule running tasks
If you find a program that runs the day before it takes a long time, but you need to do the day before, you can hang up the program with Ctrl-z, and then you can see the system prompt:[1]+ stopped/root/bin/rsync.sh and then we can. Program scheduling to Background execution: (BG job number) #bg 1
[1]+/root/bin/rsync.sh & view tasks with the jobs command#jobs
[1]+ running/root/bin/rsync.sh &
get it back to the console .#fg 1/root/bin/rsync.shThis way, you can only wait for the task to complete on this console. FG, BG, Jobs, &, CTRL + Z are all related to system tasks and have learned quite practical 1, & is most often usedThis is used at the end of a command, you can put this command in the background to execute 2, CTRL + Zyou can put a command that is executing in the foreground in the background and pause 3. JobsSee how many commands are currently running in the background 4, FGmove commands in the background to the foreground to continue runningIf there are multiple commands in the background, you can use FG%jobnumber to bring up the selected command,%jobnumber is the ordinal (not PID) of the command being executed in the background through the jobs command. 5. BGa command that pauses in the background changes to continue executionIf there are multiple commands in the background, you can use BG%jobnumber to bring up the selected command,%jobnumber is the ordinal (not PID) of the command being executed in the background through the jobs command.
About the VI Editor
Set-o VI (Environment of VIM editor)
Set-o Emacs (resumed)
Linux shortcut keys