LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 30
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, 09:51 PM   #2
YMHiK
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
~user/.bashrc
 
Old 02-02-2004, 10:43 PM   #3
slakmagik
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.
 
  


Reply


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 06:17 PM
Login profile option Bebo LQ Suggestions & Feedback 1 10-19-2004 09:41 AM
Where to find .profile or .login? sceadu Linux - Newbie 2 03-21-2003 01:06 AM
login profile problum in windows 2000 to redhat 7.3 prashu_bvp Linux - Networking 3 10-22-2002 09:22 AM
.profile .login albean Linux - Newbie 4 10-04-2002 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:23 PM.

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