1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.ko/common/watch.md

21 lines
494 B
Markdown
Raw Normal View History

# watch
> 프로그램을 주기적으로 실행하여 전체 화면에 출력.
> 더 많은 정보: <https://manned.org/watch>.
- 명령을 반복 실행하고 결과를 표시:
`watch {{명령어}}`
- 60초마다 명령을 재실행:
`watch -n {{60}} {{명령어}}`
- 디렉토리의 내용을 모니터링하고 변경된 부분을 강조:
`watch -d {{ls -l}}`
- 파이프라인을 반복 실행하고 결과를 표시:
`watch '{{명령어_1}} | {{명령어_2}} | {{명령어_3}}'`