  | |  | profile | profile 2005-05-27 - By John O'Loughlin
Back 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@(protected)) wrote: > > Hello > > When Linux starts, which profile it loads. > > Any idea? > > Thanks! > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |