grep で前後の行も抽出

grep で前後の行も抽出

ファイルの中身を検索するなら

1
2
3
4
5
6
7
8
sudo find /etc/ -type f | sudo grep '\.conf$' |sudo xargs grep 80
 
[/shell
というように
grep コマンドの結果を xargs コマンドで実行すればみることができる
 
結果は
).push({});