tee
| info | |
|---|---|
| name | tee |
| full name | tee |
| aliases | tee |
| tags | tee |
기본 출력을 파일로 쓰기위한 명령어.>redirection과 유사redirection과 다르게 sudo를 사용해도 권한이 유지된 명령.
USAGE
# echo "hello world" | tee filename echo "hello world" > filename # echo "hello world" | tee -a filename echo "hello world" >> filename # 표준 출력장치에는 표시되지 않음. echo "hello world" | tee -a filename /dev/null
something | tee [<switches>…] filename: 파이프라인을 통하여 온 내용을 파일에 새로 쓴다.>redirection-a: 내용을 파일에 추가한다.»redirection