LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-11-2005, 12:14 AM   #1
nin881
Member
 
Registered: Feb 2005
Location: Moorhead MN
Distribution: Ubuntu 6.10
Posts: 59

Rep: Reputation: 15
login script


What is the script that bash reads when you login. I beleive that in Fedora it is ~/.bashrc.

Thanks,
Tom
 
Old 06-11-2005, 12:56 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
The same one, just create it.
 
Old 06-11-2005, 02:17 AM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
There is also ~/.bash_profile, ~/.bash_login, ~/.profile

(man bash, type '/INVOCATION' then type 'n')

Last edited by keefaz; 06-11-2005 at 02:20 AM.
 
Old 06-11-2005, 02:21 AM   #4
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
actually it's /etc/profile

IF the user creates their own it's
~/home/<user>/.bash_profile

from there you can source the ~/.bashrc file.......
Code:
if [ -f ~/.bashrc ]; then
    source ~/.bashrc
fi
 
  


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
How to check in a script whether the shell is login or non login? frankie_DJ Programming 7 10-21-2015 10:09 AM
login script steve007 General 5 07-01-2005 08:49 AM
Login script unclejessie77 Programming 5 02-24-2005 12:30 PM
login script notREALly Linux - General 6 11-29-2003 08:23 AM
login script oneringsol Linux - Newbie 2 11-03-2002 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:54 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
Open Source Consulting | Domain Registration