Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Fedora 7 server export in .bashrc not getting set

I'm trying to set the JAVA_HOME environment variable in my .bashrc but every time I log back in it gets unset again to its original value, below is my .bashrc file # .bashrc # User specific aliases ...
0
votes
2answers
100 views

Checking if PATH contains $HOME/mydir and adding it if not (all in a script) [closed]

Possible Duplicate: keep duplicates out of $PATH on source I am not an expert with Unix scripting. Some of my scripts are located in $HOME/mydir. Unfortunately, they are not accessible from ...
4
votes
2answers
192 views

How to alter PATH within bash script?

I have several projects that require me to change versions of Java/Grails/Maven. I'm trying to handle this with some Bash scripts that would make the changes. For example: #!/bin/sh export ...