Hardware Reference
In-Depth Information
Discussion
The chmod command changes the mode of the file pushbutton.js file to allow it to execute.
The second command runs it.
The file you created is stored on the Bone. It's a good idea to back up your files. If your
host computer is running Linux, the following commands will copy the contents of
boneSensors to your host (be sure to subsitute your login name for yoder ):
root@beaglebone:~/boneSensors# cd ..
root@beaglebone:~# scp -r boneSensors/ yoder@192.168.7.1:.
The authenticity of host '192.168.7.1 (192.168.7.1)' can't be
established.
ECDSA key fingerprint is
54:ce:02:e5:83:3f:01:b3:bc:fd:43:09:08:d4:97:xx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.7.1' (ECDSA) to the list of known
hosts.
yoder@192.168.7.1's password:
pushbutton.js 100% 282 0.3KB/s 00:00
This uses the secure copy ( scp ) command to copy boneSensors to your home directory
on your host computer.
Search WWH ::




Custom Search