1. almost all the return data is text type.
2. pipeline collect different commands into complicated one.
3. data stream
1. STDIN -0
2. STDOUT -1
3. STDERR -2
4. redirect
1. > STDIN->file(override)
2. >> STDIN->file(add)
3. 2> STDERR->file
4. 2>&1 STDERR->STDIN
5. < file->STDIN
5. pipeline
|
转载于:https://my.oschina.net/incarnation/blog/101448
本文深入探讨了数据流概念,包括标准输入(STDIN)、标准输出(STDOUT)和标准错误(STDERR)的角色。同时,详细解析了重定向操作符如'>'、'>>'、'2>'和'2>&1'的功能,以及文件与数据流之间的交互。此外,还介绍了管道(pipe)如何将多个命令连接成复杂指令链,实现高效的数据处理。

375

被折叠的 条评论
为什么被折叠?



