![Phytec Linux-Kit phyCARD-M Quick Start Instructions Download Page 45](http://html1.mh-extra.com/html/phytec/linux-kit-phycard-m/linux-kit-phycard-m_quick-start-instructions_1554142045.webp)
phyCARD-M Getting
Started
© 2010 PHYTEC Messtechnik GmbH L-746e_1
41
2.7
Advanced Information
2.7.1
Copying a Program to the Target with the Command Line
•
Open a new terminal window.
•
Change to
/usr/local/share/phyCARD-M-Kit/HelloWorld:
cd /usr/local/share/phyCARD-M-Kit/HelloWorld
•
Copy the application to the target by typing:
ftp -u ftp://root:[email protected]/ HelloWorld
Be sure to enter a slash followed by a space after the IP address.
2.7.2
Executing a Program on the Target
•
Open a Telnet session to the target:
telnet 192.168.3.11
•
Type
root
and press
Enter.
•
Type
./HelloWorld
to start the application.
•
Type
exit
.
2.7.3
Executing a Program directly on the Target using SSH
•
To start the program, type:
ssh [email protected] ./HelloWorld
After the program has finished, SSH will logout automatically
.