반응형 리디렉션1 echo 리디렉션/리다이렉션(redirection)에 sudo 혼합 사용 방법 tee 기존 Activation: echo PCC.00 > /sys/class/gpio/export Direction : echo out > /sys/class/gpio/PN.01/direction Output High: echo 1 > /sys/class/gpio/PCC.00/value Output Low: echo 0 > /sys/class/gpio/PCC.00/value Deactivation: echo PCC.00 > /sys/class/gpio/unexport tee와 sudo 적용 Activation: echo PCC.00 | sudo tee -a /sys/class/gpio/export Direction : echo out | sudo tee -a /sys/class/gpio/PN.01/direct.. 2023. 11. 22. 이전 1 다음 728x90 반응형