Unable to find correct .bashrc file to set classpath!!!!

Asked by arvind das on 2011-03-14

I was trying to edit my ~/.bashrc file to set PATH to JVM . Last time I tried and was successful but this time when I tried to edit it through "vi" editor it opened a .bashrc file with a lot of text written to it. When tried to edit it previously the /.bashrc file was empty or no test written to it at all. I am unable to understand which bashrc file to edit???

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu bash Edit question
Assignee:
No assignee Edit question
Last query:
2011-03-14
Last reply:
2011-03-14

/.bashrc is NOT in youusers home. |/.bashrc is the settings for your user and should be editted to add paths and aliases.

Midnight Matt (randygaffer) said : #2

Make sure the .bashrc file you edit is the one in your HOME directory ;]

Can you help with this problem?

Provide an answer of your own, or ask arvind das for more information if necessary.

To post a message you must log in.