leemengtaiwan
12/13/2017 - 12:16 AM

在linux裡頭找log file 裡頭有沒有想要搜尋的字

grep --after-context=2 --before-context=2 'text to find' access.log | tail -n 100