障害対応中、上司からこんな指示を受けたことはありませんか? 「10:00から10:15の間のエラーログだけ見せて」 これ、実は `grep` コマンドだけでやろうとすると非常に大変です。 grepは「文字が含まれているか」しか見ないので、「時間の範囲(以上、以下 ...
The grep command is regarded as one of the most essential building blocks of command line automation. It is a search tool that can be used to perform basic text filtering and processing tasks on files ...
As a relatively isolated junior sysadmin, I remember seeing answers on Experts Exchange and later Stack Exchange that baffled me. Authors and commenters might chain 10 commands together with pipes and ...