[ros-users] .bashrc problem

Bhaskara Marthi bhaskara at willowgarage.com
Thu Jul 22 04:34:38 UTC 2010


Those lines are not meant to be inserted into your .bashrc.  So:
1) open up a terminal
2) type those four lines

and everything should work thereafter.
- Bhaskara

On Wed, Jul 21, 2010 at 9:28 PM, Sam Quintanar <robosq at hotmail.com> wrote:

>  Everything concerning ROS installation ran great on day 1.
> On day two, I logged into Ubuntu 10.04 and then opened a terminal with
> command "gnome-terminal" only to watch the terminal hang and it worked fine
> before I added the  following as per ROS instructions:
>
> echo "source /home/sam/ros/setup.sh" >> ~/.bashrc
>  . ~/.bashrc
>
> echo "source /home/sam/ros-tutorials/setup.sh" >> ~/.bashrc
>  . ~/.bashrc.
>
> I opened the bashrc file in my home dir and found that it generated an
> infinite number of
> "source /home/sam/ros-tutorials/setup.sh" strings in the file appearing
> after my last entry above.
>
> I removed the 4 lines I added above and the terminal opened fine, but now I
> must manually type into the terminal prompt:
> source /home/sam/ros/setup.sh
> source /home/sam/ros-tutorials/setup.sh
>
> and all is well, but it would be nice to have the .bashrc automatically do
> this instead of my manually doing it repeatedly.
>
> I'm not well versed with bash or terminal usage yet (new to Linux), so
> maybe I've don't something wrong.
>
> Please advise.
>
> SamQ
>
> ------------------------------
> Hotmail has tools for the New Busy. Search, chat and e-mail from your
> inbox. Learn more.<http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>


-- 
Bhaskara Marthi
Research Scientist
Willow Garage Inc.
650-475-2856
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100721/88657037/attachment-0003.html>


More information about the ros-users mailing list