| | |
variable environment
![]() |
Depends on what shell you using. The variable that is being changed needs to be included in the startup "script" that the shell uses.
If appending, you can do this: PATH=$PATH:/foo/bar , but if you are prefixing do this: PATH=/foo/bar
PATH .
Anyway, the following is a quick break down of what might need to be touched:
csh
.login
.cshrc
sh/ksh
.profile
bash
.bash_profile
.bash_login
.profile
Definitely check your shell docmentation for details though.
If appending, you can do this: PATH=$PATH:/foo/bar , but if you are prefixing do this: PATH=/foo/bar
PATH .Anyway, the following is a quick break down of what might need to be touched:
csh
.login
.cshrc
sh/ksh
.profile
bash
.bash_profile
.bash_login
.profile
Definitely check your shell docmentation for details though.
![]() |
Similar Threads
- how to read unix profile variable into Perl (Perl)
- UNIX environment problem. (Legacy and Other Languages)
- Sending a dos environment variable to fstream instance (C++)
- Losing session variable problem...help! (ASP)
- Setting a variable to the Exit Code (Python)
- Problem with a snippet of code in a shell program (C)
- VMware help (*nix Software)
Other Threads in the *nix Software Forum
- Previous Thread: Installing knoppix to hd dual boot
- Next Thread: linux booting problem
| Thread Tools | Search this Thread |





