我正在运行一个名为stm的程序.我想只保存文本文件中包含文本"ERROR"的那些stderr消息.我也想要控制台上的消息.
我怎么用bash做到这一点?
bash shell
bash ×1
shell ×1