./categories/os
Linux tee 화면·파일 동시 출력
stdout을 화면과 파일에 동시에 기록.
command | tee file.txt # 덮어쓰기
command | tee -a file.txt # 추가
command 2>&1 | tee file.txt # stdout+stderr
df -h | tee df.txt
./comments
일치하는 문서가 없습니다.
./categories/os
stdout을 화면과 파일에 동시에 기록.
command | tee file.txt # 덮어쓰기
command | tee -a file.txt # 추가
command 2>&1 | tee file.txt # stdout+stderr
df -h | tee df.txt
./comments