Terminal: Essentially corresponds to the/dev/tty device on Linux
Shell: Open terminal, Shell will open automatically
Can be entered directly at the terminal: echo "Hello World"/*shell program Autorun */
Important Shortcut keys:
(1) TAB: completion (including parameters)
(2) Ctrl + C: Forced termination
| Ctrl+d |
Keyboard input end or exit terminal |
| Ctrl+s |
Pause, press any key to resume |
| CTRL + Z |
Background run, restore to foreground command: FG |
| CTRL + A |
Home |
| Ctrl+e |
End |
| Ctrl+k |
Delete all content at the end of the cursor |
| Alt+backspace |
Delete a previous word |
| Alt+pgup |
PgUp |
| Alt+pgdown |
Pgdown |
(3) wildcard characters
| * |
Match any character |
| ? |
Match a character |
| [List] |
Match any single character in the list |
| [!list] |
Matches any single character in a non-list |
| [C1-C2] |
Matches any single character from C1 to C2, such as [0-9],[a-f] |
| {C1.. C2} |
Matches all single characters from C1 to C2, such as {1-6} |
| {String1,string2,.......} |
Match all string characters |
(4) Man commend_name: Get a detailed description of the command
The Man command manual is divided into 8 sections, each section has a part of the introduction, according to the requirements of the selection section
Man 3 printf/* View printf Library functions */
The Manual of the Man command also has a specific search function, which is a little bit here.
(5) Commend_name--help/*get help*/
(6) Fun instruction =. =
Banner
sudo apt-get update;sudo apt-get install Sysvbanner
Banner string
Printerbanner-w string
/*similar Commends:toilet, figlet*/
-2-linux Foundation of Laboratory Building (1)