windows powershell 명령어를 이용한 리눅스 tail 기능 실행
by 개발자   2025-03-28 09:16:09   조회수:8

-  파워쉘 get-content 명령어를 이용한 리눅스 tail 기능 실행

- get-content 명령어 처럼 출력 관련 명령어에는 옵션으로 Encoding 지정 가능

>   powershell -Command "get-content -Encoding utf8 C:\path\ion.log -wait -tail 10"


참조 - https://learn.microsoft.com/ko-kr/powershell/module/microsoft.powershell.core/about/about_character_encoding?view=powershell-7.3