Windowsサーバーで開発を行っていると、
ログ監視するために、
Linuxの「tail -f」っぽいことをしたくなることがある。
いつもぐぐってるのでメモ。
PowerShellを起動して、以下のコマンドを実行すると良い。
コマンド
Get-Content -Path "[ファイルのパス]" -Tail 10 -Wait
Go to list of users who liked
More than 5 years have passed since last update.
Windowsサーバーで開発を行っていると、
ログ監視するために、
Linuxの「tail -f」っぽいことをしたくなることがある。
いつもぐぐってるのでメモ。
PowerShellを起動して、以下のコマンドを実行すると良い。
Get-Content -Path "[ファイルのパス]" -Tail 10 -Wait
Register as a new user and use Qiita more conveniently
Go to list of users who liked