Skip to content

Commit

Permalink
【05】操作系统
Browse files Browse the repository at this point in the history
  • Loading branch information
loveincode committed Sep 27, 2018
1 parent 0c0cb8f commit bd3140b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 05 - OS (linux)/log.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cat error.log | grep -C 5 'nick' 显示file文件里匹配nick字串那行以及上下5行
cat error.log | grep -B 5 'nick' 显示nick及前5行
cat error.log | grep -A 5 'nick' 显示nick及后5行

0 comments on commit bd3140b

Please sign in to comment.