don Rumata Asked:2020-09-27 16:24:29 +0000 UTC2020-09-27 16:24:29 +0000 UTC 2020-09-27 16:24:29 +0000 UTC 如何在 GNU Screen 会话中查找文本? 772 我有一个在 GNU Screen 会话中运行的程序,我需要在其输出中找到一段文本。怎么做? 那些。你需要类似的东西screen -x --quiet | grep text4search && echo НАЙДЕНО!。 linux 1 个回答 Voted Best Answer don Rumata 2020-09-28T00:36:19Z2020-09-28T00:36:19Z 事实证明,它screendump完全按照我的意愿工作: sudo screendump | grep 'Unable to find target partition' && echo ALARM!!!
事实证明,它
screendump完全按照我的意愿工作:sudo screendump | grep 'Unable to find target partition' && echo ALARM!!!