48

数据重定向 | SAKA'S BLOG

 6 years ago
source link: https://rangaofei.github.io/2018/02/14/%E6%95%B0%E6%8D%AE%E9%87%8D%E5%AE%9A%E5%90%91/#more
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
数据重定向这一节内容相对比较简单。 首先理解一下linux的标准输入与输出: 类型 名称 文件描述符 说明 stdin 标准输入 0 一般是键盘输入 stdout 标准输出 1 命令执行成功后的正确信息 stderr 标准错误输出 2 命令执行失败后的错误信息 假如我们不需要再屏幕上输出而是保存到某个文件,那重定向符就有用了,使用它可以将本来在标准输出上的内容存储到某个

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK