Linux 查询结果写下文件 Home » IDC云服务 » Linux 查询结果写下文件 Linux 查询结果写入文件 在Linux命令模式下,可以将查询结果写入文件。大概有两种方式,增量写入和覆盖写入。 ? 增量写入: ????? #iostat -m >> /tmp/iostat.txt ? 覆盖写入: ????? #iostat -m > /tmp/iostat.txt ? 注意: 1、增量和覆盖的区别就在于标红的部分。 2、这种方式在window command下也一样。已经验证过了。