G:: Quick Reference — Commands in this Guide
Rev 3 9/21/17
59
41110479
git pull
Retrieve any updates that have been made to the revision history of the
remote git repository, and merge the current (local) branch with the
corresponding remote branch.
git submodule init
Update the git configuration with any new submodules added recently.
git submodule update
Check out the version of the submodule specified by the current version of
the parent repository.
instsys <update_file> <ip_address>
Install the specified file on the device at <ip_address>
logread -f | grep "Hello"
Print any new syslog messages that contain the string "Hello"
ls -al <files>
List details about the identified <files>.
make <target_list>
Build the programs for each listed target.
Targets are named after module types and other unique features.
e.g.:
•
wp85—Build for wp85 modules
•
wp750x—Build for wp750x modules
•
red_wp85—Build for wp85 modules used in mangOH Red boards
•
green_wp85—Build for wp85 modules used in mangOH Green
boards.
make clean
Remove ’build artifacts’ (clutter left over from previous builds)
mv <file> <destination>
If <destination> is an existing directory name, move the <file> into that
directory.
Otherwise, rename the <file> using the <destination> name.
ping <ip_address>
Test the connection between the device and the a network host at
<ip_address>.
repo init -u git:<path> -m <manifest>
First, clone the manifest repository indicated by ’-u’ option (e.g. git://
github.com/legatoproject/manifest).
Then use the <manifest> located in that cloned repository to clone and
check out the specified version of each repository in the manifest.
repo sync
Get the latest updates for all git repositories and perform all updates
allowed by the manifest.
ssh root@<ip_address>
Log in as the root user to the device at <ip_address>.
Table G-1: Commands Used in the Getting Started Guide (Continued)
Command
Description