[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: Linux Startup file
On Mon, May 31, 1999 at 11:18:59PM +0500, Rajesh wrote:
> Hi friends,
>
> Can anybody tell me which startup file is executed when we login into a linux machine.
> Which file executes the path and other relevant startup commands.
>
> I have installed gnome with enlightenment as the Windows Manager. But when I try
> to open Esound it gives me error saying that the file is not in path. Change the path.
>
It depends on your shell. If you use bash, then the files sourced
are:
1) /etc/profile
2) ~/.bash_profile
3) ~/.profile
4) If bash is not your login shell, then ~/.bashrc
5) The file specified in the environment variable ENV, when bash is
executing a shell script.
Since most of the time you don't care whether bash is invoked as
your login shell or not, I suggest you link ~/.bashrc to
~/.bash_profile.
Also, if ~/.bash_profile exists and could be sourced, ~/.profile is
ignored (I have fallen in this trap many times).
Binand
- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
To unsubscribe from this list send an email to majordomo@xxxxxxxxx with the
words 'unsubscribe linux-india' (without the quotes) in the body of the
email.
------------------------------