Bash:
1. Command history, Command completion
2, Pipeline, redirect
3. Command aliases
4. Command line editing
5. Command line expansion
6. File name Wildcard
7. Variables
8. Programming
command-line editing:
Cursor Jump:
CTRL + A: Skip to the beginning of the command
Ctrl+e: Jump to the end of the command line
Ctrl+u: Delete the cursor to the beginning of the command line
CTRL+K: Delete the cursor to the end of the command line
Ctrl+l: Clear Screen
Command history:
View command history: Historical
-C: Empty command history
-D OFFSET [n]: Delete command at specified position
-W: Save the Command history to the history file
Environment variables
Path: Command Search Path
Histsize: Command history buffer size
The use of command history tips:
!n: Executes the nth command in the command history;
!-n: Executes the reciprocal nth command in the command history;
!: Executes the previous command;
!string: The most recent command in the command history that starts with a specified string
!$: References the last parameter of the previous command;
Linux Learning--bash