REDIRECT:> < >> <<
Arithmetic, controller: CPU
Memory: RAM
Input device/Output device
Programs: Directives and data
Controller: Instruction
The arithmetic device:
Memory:
Address bus: Memory addressing
Data bus: Transferring data
Control Summary: Control instructions
Register: CPU Ephemeral memory
I/O: Hard disk,
Program
Input device:
Output device
System settings
Default output device: Standard output, STDOUT, 1
Default input device: standard input, STDIN, 0
Standard error Output: STDERR, 2
Standard input: Keyboard
Standard output and Error output: Display
I/O redirection:
Linux:
: Overwrite output
>>: Append output
SET-C: Prohibit overwrite redirection for already existing files;
Force overwrite output, use >|
Set +c: Turn off the above features
2>: Redirect Error output
2>>: Append method
&>: Redirect standard output or error output to the same file
<: Input redirection
<<:here Document
Pipeline: The output of the previous command, as input to the latter command
Command 1 | Command 2 | Command 3 | ...
Tee: From the standard output to the screen, a copy saved to a file
Linux commands (ix) pipeline and I/O redirection >, >>, 2>, 2>>, &>, <, <<, tee