LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is there a .profile script in Linux? (https://www.linuxquestions.org/questions/linux-newbie-8/is-there-a-profile-script-in-linux-77725/)

rsuri 07-31-2003 12:34 PM

Is there a .profile script in Linux?
 
What is the FIRST script that executes to setup your environment when you login? Where is it located?
I am looking for things like .profile and .login in unix world.

Thanks,
-Rajeev

lfur 07-31-2003 12:39 PM

rsuri,

/etc/profile Aditional files can be found in /etc/profile.d/ (at least in Slackware).

About .login ... it depends on which shell are you using. If it's BASH, then files like:
.bash_login .bash_profile .bashrc or simply .profile

can be found in your home directory.


All times are GMT -5. The time now is 09:11 AM.