LoginSignup
5
7

More than 5 years have passed since last update.

WindowsでLinuxの「tail -f」っぽいことをする方法

Posted at

Windowsサーバーで開発を行っていると、
ログ監視するために、
Linuxの「tail -f」っぽいことをしたくなることがある。
いつもぐぐってるのでメモ。

PowerShellを起動して、以下のコマンドを実行すると良い。

コマンド
Get-Content -Path "[ファイルのパス]"  -Tail 10 -Wait
5
7
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
5
7