윈도우에서 tail 명령어 사용

Tags:

Powershell 에서 Get-Content 경로 -Wait -Tail 10

Wait 옵션을 붙이면 대기상태로 있고 갱신될 때마다 로그 출력하겠다. tail 명령어 뒤의 값은 마지막 줄부터 -n번째 줄까지 출력하겠다.