エントリーの編集

エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント1件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています

- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
Monitoring a file until a string is found
I am using tail -f to monitor a log file that is being actively written to. When a certain string... I am using tail -f to monitor a log file that is being actively written to. When a certain string is written to the log file, I want to quit the monitoring, and continue with the rest of my script. Currently I am using: tail -f logfile.log | grep -m 1 "Server Started" When the string is found, grep quits as expected, but I need to find a way to make the tail quit too so that the script can continu
2021/08/23 リンク