LoginSignup
0
1

More than 5 years have passed since last update.

powershell > Link > tailの実装 > Get-Content .\error.log -Wait -Tail 5 > Head

Last updated at Posted at 2016-01-12

参考1. http://qiita.com/cd01/items/da9a36582372e7d0a7f6

Get-Content .\error.log -Wait -Tail 5

参考2. http://tech.guitarrapc.com/entry/2013/04/15/220408

注意
-Tail は末尾から何行という指示ですが、-Wait で更新を待機しているため、実質全行読み取ります。 そのため、以下としてもほぼ変わりません。

参考3. https://technet.microsoft.com/ja-jp/library/hh849787.aspx

-Tail

一方で、headは

-TotalCount
Aliases > First, Head

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1