Re: profile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx) wrote:
> 
> Hello
> 
> When Linux starts, which profile it loads.
> 
> Any idea?
> 
> Thanks!
> 
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux