One: Word accumulation
Current: currently
Directory: Directories
Entries: Articles
Default: Defaults
Information: Information
Format: Formatting
Ignore: Neglect
Licensing: Licensing
Two:
1.GNU Bash Description: The shell is the user interface of the Linux system, it receives the user input commands and then sends it into the kernel to execute, it is actually a command interpreter, it explains the user input commands and sends them into the kernel (equivalent to a handset),
Bash is a kind of shell.
2. Feature Brief: File management
User Management
Rights Management
Disk Management
Software Management
Network management
3.bash Shell prompt:
For example "[email protected]/" #
Root: Currently logged in User name
Tianyun: Host Name
/: Directory in which you are currently located
**********************
Examples of SMALL commands:
Date: Query the current system time
WHOAMI: Querying user identities
Useradd User name: Create a normal user
passwd User name: Set a password for the normal user you create
4.shell syntax
Command option Parameters
Command: The body of the entire shell command
Options: Used to decorate commands, usually identified by-,--
Parameters: The object to which the command works
5.bash Basic Features
1. Auto-complete command: Shift key
2. Shortcut keys:
CTRL +
C: Terminate the currently running program
D: Exit, equivalent to exit
L: Clear screen (actually turned over a page)
A: Move the cursor to the front of the command line
E: Move the cursor to the back end of the command line
U: Remove all characters before the cursor
K: Remove all characters after the cursor
R: Search history command, using keywords
ALT +. esc+. !$: Referencing the last parameter of the previous command
3. Historical command:
A: Cursor up and down keys
B:ctrl+r Search History command (input keyword)
C:! 220 (No. 220 command of the execution History command, if you use the historical command)
D:! The most recent command in the string Search History command that starts with the XXXX character
4. Command aliases: You can give a command a name, easy to use
Example: Alisa tianyun= ' Date '
Then when the input is Tianyun and the execution result of input date is consistent
5. Help command:
1.ls--help
2.man ls
3. Official manuals, etc.
NOTES: Linux--First knowledge shell