Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
Re: [SLE] Question about .bashrc and $PATH (Newbie)
  • From: "Greg Krpan" <krpan@xxxxxxxx>
  • Date: Thu, 9 Aug 2001 08:58:29 -0500
  • Message-id: <OFFD4D89F3.E204130B-ON86256AA3.004D0120@xxxxxxxxxxx>

If you add the following lines to .bashrc, it will do the trick:

export PATH

You can also use those same 2 lines at the command line to change your

Hope this helps!!

Greg Krpan (krpan@xxxxxxxx)
Senior System Administrator
Raytheon ITSS
USGS EROS Data Center, Mundt Federal Building
Sioux Falls, SD 57198
(605) 594 6854

neil briggs
<N.Briggs@canon-e To: suse-linux-e@xxxxxxxx> cc:
Subject: [SLE] Question about .bashrc and $PATH (Newbie)
08/09/01 08:13 AM

Dear List,

First of all a big thanks to all who helped with a confused newbie
Xfree86 4.1. Managed to resolve all my problems and am startiing to enjoy
using linux more and more.

Please could somebody answer me this simple question. I have just installed

the java 2SDK envirnonment. I now need to add the path
This will allow java executables to be run from the terminal. From the
reading I have done I know to add this to the .bashrc, what is the format
the line that I need to add as there is currently no PATH defined in my
.bashrc file.

I have also read that you can change the $PATH variable using I think the
export command.

Which is the best option and could soomebody give me an example of either
line to add in .baschrc or of the export command.

I hope I am not too wide of the mark. If am wrong please put me right.

Many thanks

To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx

Also check the FAQ at and the
archives at

< Previous Next >
This Thread
  • No further messages