1. Linux commands
An instruction or program used to implement a class of functions
The execution of the command depends on the interpreter (for example:/bin/bash)
2. Classification of LINUX commands
Internal command: Part of the Shell interpreter
External command: A program file that is independent of the shell interpreter and has an executable file corresponding to the command name under a path in the file system
1,linux command format
command word [options] [parameters]
[] indicates that content is optional
Option: If it is a single character, use-# ls-l
If it's a word, use --# ls--color
Multiple single-character options can be combined with one-# ls-l-h = # LS-LH
2,tab Key
Command completion
Path completion
Determine whether commands and paths are wrong
Backslash "\": Force line break
Cursor Jump:
CTRL + A: Skip to the beginning of the command
Ctrl + C: Discard the currently edited command line
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
Ctrl+w: Quickly delete a word from the current cursor
Ctrl-a: Move to the beginning of the line
CTRL-E: Move to end of line
Ctrl-u: Delete to the beginning of the line
Ctrl-k: Delete to end of line
Ctrl-arrow (Ctrl + arrow): One word to move a word
CTRL-SHIFT-T: Create a new tab page
CTRL-PGUP/PGDN: Page UP or down
Ctrl-shift-c: Copy Selected content
Ctrl-shift-v: Paste the selected content
This article is from "Egg Fish" blog, please be sure to keep this source http://zhongguiyao.blog.51cto.com/11712990/1854242
Command-Line Basics