Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-02-2004, 08:20 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
about the login profile

when the user login , which profiles will be load , as i know , it will default load /etc/profile , ~userid/.bash_profile , is there other profile will be loaded ? thx.
Old 02-02-2004, 08:51 PM   #2
LQ Newbie
Registered: Jan 2004
Distribution: Slackware 2.6.5, Slackware 2.6.4, RedHat 9 2.4.20-8
Posts: 23

Rep: Reputation: 15
Old 02-02-2004, 09:43 PM   #3
Senior Member
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Also ~/.bash_login if it exists. And even ~/.profile. 'man bash'/search 'INVOCATION'.

It'll also read ~/.bash_logout on logout. Mine says 'clear'. *g*

It doesn't actually read ~/.bashrc as a login shell unless told to do so in one of the other files - it just reads that if it's not a login shell. If I'm not mistaken.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Login Profile jonty_11 Linux - General 6 10-28-2004 05:17 PM
Login profile option Bebo LQ Suggestions & Feedback 1 10-19-2004 08:41 AM
Where to find .profile or .login? sceadu Linux - Newbie 2 03-21-2003 12:06 AM
login profile problum in windows 2000 to redhat 7.3 prashu_bvp Linux - Networking 3 10-22-2002 08:22 AM
.profile .login albean Linux - Newbie 4 10-04-2002 08:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration