Basic linux knowledge and linux knowledge
Basic linux principles:
1. A single small program with a single purpose, and a combination of small programs to complete complex tasks.
2. Everything is a file
3. Try to avoid capturing user interfaces
4. Save the configuration file in plain text format.
CLI interface:
Command prompt, prompt, bash
#: Root
$: Common User
Command Format:
Command Option Parameters
Option:
[]: Can be omitted
<>: Required.
...: You can use multiple
|: Select one more
{}: Group
Short options :-
Multiple options can be combined:-a-B =-AB
Long Options:
Cannot be combined
Parameter: target object of the command
Conversion User:
Root student visitor Switch
Su: switch user
# Su [-l] user name [] indicates that the user name can be omitted.
For example, su-l student returns to root and uses exit.
Change Password:
# Passwd enter and enter the new password