[SATLUG] Another quiz

Luis Garza luis at luisgarza.com
Wed Jul 25 18:26:51 CDT 2007


Bruce Dubbs wrote:
> Luis Garza wrote:
>   
>> Bruce Dubbs wrote:
>>     
>>> OK, this may be a bit tougher.
>>>
>>> a. What are all the default bash initialization files (distro
>>> independent)?
>>>
>>> b. When are they used?
>>>
>>>   -- Bruce
>>>   
>>>       
>> I think that this deals with the login process.
>>
>> /etc/profile
>> /etc/profile.d/*
>> $home/.bash_profile
>> $home/.bashrc
>> /etc/bashrc
>>     
>
> 1 is right
> 2 is wrong
> 3 is right
> 4 is right
> 5 is wrong
>
> Why?  :)
>
>   -- Bruce
>
>
>   
login calls /etc/profile which usually has a loop to execute the files 
in /etc/profile.d .  Then $home/.bash_profile is read in and executed.  
$home/.bash_profile usually has the line to execute $home/.bashrc which 
has the line to execute /etc/bashrc.

Is that right?

-- 

Luis Garza
luis at luisgarza.com
l.garza at yahoo.com



More information about the SATLUG mailing list