觀看變動的檔案
有些時候要盯著某些log,有哪些指令可以不斷看檔案的檔尾呢?
tail -f file
watch 'tail file'
最近學到的新招式:
less file + <End> + <F>
其中比要好用的應該是 less, 因為他還可以搜尋檔案內容
convert from Thomas blog post id 348 old convert log: ./143501/tag%3E2008%2009%20linux)
@2008 @09 @linux
有些時候要盯著某些log,有哪些指令可以不斷看檔案的檔尾呢?
tail -f file
watch 'tail file'
最近學到的新招式:
less file + <End> + <F>
其中比要好用的應該是 less, 因為他還可以搜尋檔案內容
convert from Thomas blog post id 348 old convert log: ./143501/tag%3E2008%2009%20linux)
@2008 @09 @linux
Comments