فهرست منبع

tail: add example using -s parameter. (#4180)

shyneko 4 سال پیش
والد
کامیت
94cb11e58d
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      pages/common/tail.md

+ 4 - 0
pages/common/tail.md

@@ -21,3 +21,7 @@
 - Keep reading file until `Ctrl + C`, even if the file is rotated:
 
 `tail -F {{file}}`
+
+- Show last 'num' lines in 'file' and refresh every 'n' seconds:
+
+`tail -n {{num}} -s {{n}} -f {{file}}`