사용자 도구

사이트 도구


linux:tee

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
linux:tee [2018/04/04 15:09]
kwon37xi
linux:tee [2024/03/21 13:45] (현재)
kwon37xi
줄 13: 줄 13:
 </code> </code>
   * ''sudo''로 root 의 파일에 pipe 로 데이터 저장 [[https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr|linux - How do I use sudo to redirect output to a location I don't have permission to write to? - Stack Overflow]]<code sh>   * ''sudo''로 root 의 파일에 pipe 로 데이터 저장 [[https://stackoverflow.com/questions/82256/how-do-i-use-sudo-to-redirect-output-to-a-location-i-dont-have-permission-to-wr|linux - How do I use sudo to redirect output to a location I don't have permission to write to? - Stack Overflow]]<code sh>
-sudo echo "content" | sudo tee /root/test.out > /dev/null+echo "content" | sudo tee /root/test.out > /dev/null
 </code> </code>
linux/tee.txt · 마지막으로 수정됨: 2024/03/21 13:45 저자 kwon37xi