.profileand .lobin
hi
i am roms user. in this model manual write that Quote:
would you please tell me that where i should edit (where is .profile and .login) thanks |
Quote:
And then edit the copies in your home folder. |
dear
i check /etc there are not .profile and .login. there are some files such as zlogin, profile (with out dot), but i have .bash_profile in home directory. actually in roms manual say that Quote:
Quote:
|
The .profile and .login files are for older versions of the Bourne shell. IIRC, bash will still read them for compatibility reasons, but the "new way" with bash is to source ~/.bash_profile for login shells and ~/.bashrc for non-login shells. What I like to do is just have my .bash_profile source my .bashrc, so I get the same behavior for both login and non-login shells.
You can put the export statements to .bashrc and then have .bash_profile source .bashrc, as I like to do, and it will do what you want. You should probably check out the bash documentation for more information about shell start-up. |
thank so much for your good reply
|
All times are GMT -5. The time now is 11:38 PM. |