ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

This command is done one time only:

echo "source /opt/ros/indigo/setup.bash" >> ~/.bashrc

Once it is appended to .bashrc everytime you open a new terminal the bash script /opt/ros/indigo/setup.bash is run.

You could edit .bashrc in a number of ways to add the line "source /opt/ros/indigo/setup.bash" to the end of the .bashrc file, echo is just a handy way to edit .bashrc.