Ignore errors when writing with echo

前端 未结 0 450
情书的邮戳
情书的邮戳 2021-02-02 17:01

I\'m using a bash script to set up GPIO pins on a raspberry pi like so:

for i in 2 3 9 10 11
do
    echo $i > /sys/class/gpio/export
    sudo chmod 777 /sys/cl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题