profile

John O'Loughlin j.oloughlin at qmul.ac.uk
Fri May 27 09:26:15 UTC 2005


The first process the kernel starts is init which has its configuration
in /etc/inittab. Have a read through this file and also through the
scripts init runs such as rc.sysinit.
When you log in, your shell will have a login file it reads, for Bash
its .bash_profile. The file .bashrc gets read whenever a new shell gets
started (say when you open an xterm for example). If you look at
.bash_profile you will probably see something like ..

if [ -f ~/.bashrc ]; then .~/.bashrc; fi

which just means that if .bashrc exists then it gets read by your login
shell.
The tcsh shell has .login and a .tschrc which do the same thing for it.

John



On Fri 27 May 2005 at 14:12, Muhammad Rizwan (rizwan at nixpanel.com) wrote:
> 
> Hello
> 
> When Linux starts, which profile it loads.
> 
> Any idea?
> 
> Thanks!
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list