-   Linux - Newbie (
-   -   Setting PATH (

shridevi 12-11-2007 07:28 AM

Setting PATH
I am new to linux may b my queries r too silly but plz help me.

How to enter into files using $PATH
actually i want to change configuration from j2sdk to jre iam working on ruby on rails.


fireblade_spark 12-11-2007 07:39 AM

Path is typically the route(path) to you folder and to access any folder from terminal say downloads and the downloads folder is in the home directory then to access the download folder you have to type in
this will take you to the downloads directory.

and its worth mentioning that the name of each of the folder should be typed correctly.

You can also know any path to any file or folder by opening the file browser and then copying the location shown in the address bar.

b0uncer 12-11-2007 07:55 AM

1) The title/topic of this thread is stupid - next time use a descriptive title, that way you'll get more (or better) interest.

2) Don't use teenager fool language, like "may b" or "r u" or "plz" or "lol" or "omg" or such. It's just stupid, non-informative, irritating and slows down reading and understanding - and causes some people not to read your post, not answer to it, just tell you to learn how to write properly before starting to show off.

3) $PATH is an environment variable which contains some directories (for example when you type in an executable name without full path, it's searched from the directories in $PATH). You can see it's contents like this, by opening a terminal:

echo $PATH
Then you can change your current working directory to one of those with cd:

cd /usr/bin
for example.

Have a look at for more information about shells/command prompt, and some English language books for more information about how to express yourself publicly.

matthewg42 12-11-2007 08:27 AM

Dear shridevi,

Welcome to LQ. To help us help you, I would ask that you please take note of a few things when posting:

1. Use a good subject line. A brief description will attract viewers who know how to help you. You will get quicker, better responses if you do this, and not annoy people into the bargain.

2. Don't say Urgent. What is urgent to you is not urgent to anyone else, and it sounds like you are demanding help. Those who offer help here do so in their own time, and you are in no position to demand anything of them.

Tinkster 12-11-2007 11:19 AM

I edited the thread title to something slighlty more meaningful
than "urgent" (which it wasn't).


All times are GMT -5. The time now is 07:35 PM.