Voder-Vocoder

The Log of Hal Canary

Navigation: Home | THE LOG | Log Archives | Resume | Contact Info | Public Key | SSL | Math Applets | Site Map | RSS2 | Atom | Backend

« | »

sudo tee

I had been doing this:

sudo su -c 'echo AT+MODE=8 > /dev/ttyACM0'

but I think that this is better becasue it spawns one less shell:

echo AT+MODE=8 | sudo tee /dev/ttyACM0 > /dev/null

Hal Canary | Computers & Code | 2008-09-28 20:27:24 UTC
Permanent Link Comments Off | No Comments

Comments are closed.
Email me your comments — h3 at halcanary dot org.

Copyright 1997-2011 by Hal Canary.
mailto: h3 at halcanary dot org
http://halcanary.org