美文网首页
linux 终端打印内容输出到文件

linux 终端打印内容输出到文件

作者: 踩坑小分队 | 来源:发表于2020-08-10 16:00 被阅读0次

    方法:利用tee命令可将linux终端的打印内容输出到文件

    示例:ifconfig | tee ifconfig.log

    otool -oV /Users/a58/Desktop/Tools/linkMap/ProjectPath ifconfig | tee jichengguanxi.log
    

    运行结束后可在ifconfig.log文件中查看打印的内容

    相关文章

      网友评论

          本文标题:linux 终端打印内容输出到文件

          本文链接:https://www.haomeiwen.com/subject/agejdktx.html