Shell--Unix--Bourne shell
Bash--linux--Bourne again
Shell
Command parser function:
0 go to specify a path to search for user-entered commands
0 environment variable--Path
1. command or directory completion
Shortcut key: Tab1.
2. Traverse History Related
0history
0 on = = Ctrl+p
0 under = = Ctrl + N
3. Cursor movement
0 left--ctrl+b
0 right--ctrl+f
0 moving to the head: Ctrl + A
0 move to Tail: ctrl+e3.
4. Character deletion
0 BACKSPACE-ctrl+h-delete the characters in front of the cursor? The character that the cursor overrides
0 Remove the characters behind: Ctrl+d = Del
0 Delete the string before the cursor: ctrl+u
0 Delete the string after the cursor: CTRL+K4.
Shortcut keys:
Traverse History:
Up: Ctrl+p
Down: Ctrl + N
Delete:
Delete Cursor front character: backspace, ctrl+h
。。。。 Behind: Ctrl+d
Delete... Pre-string: Ctrl+u
。。。。。 After.... : Ctrl+k
Move: Forward: ctrl+b backwards: ctrl+f
Move to the head: Ctrl + a .... Tail: Ctrl
Shell shortcut keys