Commands that Linux must master! ! Pipe character, input and output redirection!

Input and output redirection

Output redirection>

cover

Add
2>error message
2>>error message
&>do not distinguish between right and wrong
&>>do not distinguish between right and wrong
Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here

Insert picture description here

|The pipe character treats the output data of the previous command as the standard input of the next command.
Insert picture description here

Insert picture description here

Insert picture description here

echo "password" | passwd --stdin
Insert picture description here

The wildcard
* of the command symbol represents a null value or unlimited
? Single character (not including empty characters)
[0-9 numbers [az] [ Insert picture description here
AZ] letters

Guess you like

Origin blog.csdn.net/SYH885/article/details/108718337