The Linux grep command is a powerful search tool. From my experience, I’ve realized that most of the power I get from it comes from just a handful of options. These are the ones I reach for constantly ...
LinuxやFreeBSDでよく利用されるコマンドのひとつにgrep(1)がある。ファイルから特定のキーワードを含んだ行を取り出したりコマンド出力から特定のキーワードを含んだ行を取り出すために利用されるコマンドで、正規表現と組み合わせて利用されることが多い。
The everlastingly useful grep command can change its character with the flip of a switch to help you find things. The grep command – likely one of the first ten commands that every Unix user comes to ...