ONOS utility scripts are spread across different ONOS root sub-directories.

When using these commands often, it may help to be able to run them from wherever location you are in your management machine.

To do this, put this two lines at the end of your bash.rc file:

export ONOS_ROOT=~/onos
source $ONOS_ROOT/tools/dev/bash_profile

If you're using Mac, the file is called bash_profile. On other systems it might be called differently.

In general, you can put these instructions in any script that is executed every time at startup.

From now on, you should be able to use the ONOS command utilities directly using their name only, without specifying their path.

The rest of the development guide will assume for simplicity you did this step.