On Sunday, January 4, 2015 9:36:52 PM UTC-5, SHAO MIN wrote:
>
> ...
> for sensor in /sys/bus/i2c/devices/i2c-1/*/*_input; do echo -n
> "$(basename $sensor): "; cat $sensor; done
> ...
> How do I save this in a text file on my windows laptop instead?
>
This is a Unix/linux question, not a BBB question. Use redirection to send
results to a file.
EXAMPLES:
echo "Hello"
(prints Hello on the console)
echo "Hello" > datafile.txt
(saves Hello to datafile.txt instead of the console)
Craig
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.